ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilObjBibliographicGUI Class Reference

Class ilObjBibliographicGUI. More...

+ Inheritance diagram for ilObjBibliographicGUI:
+ Collaboration diagram for ilObjBibliographicGUI:

Public Member Functions

 getStandardCmd ()
 getStandardCmd More...
 
 getType ()
 getType More...
 
 executeCommand ()
 executeCommand More...
 
 infoScreen ()
 this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed More...
 
 addLocatorItems ()
 
 save ()
 
 saveObject ()
 
 updateObject ()
 
 overwriteBibliographicFile ()
 
 editObject ()
 edit object public More...
 
 getSettingsForm ()
 
 render ()
 
 showContent ()
 shows the overview page with all entries in a table More...
 
 sendFile ()
 provide file as a download More...
 
 showDetails ()
 
 view ()
 
 toggleNotification ()
 
 addNews (int $obj_id, string $change='created')
 
 addToDesk ()
 Add desktop item. More...
 
 removeFromDesk ()
 Remove from desktop. More...
 
- Public Member Functions inherited from ilObject2GUI
 __construct (int $id=0, int $id_type=self::REPOSITORY_NODE_ID, int $parent_node_id=0)
 
 executeCommand ()
 execute command More...
 
 getIdType ()
 
 delete ()
 Display delete confirmation form (repository/workspace switch) More...
 
 confirmedDelete ()
 Delete objects (repository/workspace switch) More...
 
 getHTML ()
 
 withReferences ()
 Final/Private declaration of unchanged parent methods. More...
 
 setCreationMode (bool $mode=true)
 
 getCreationMode ()
 
 prepareOutput (bool $show_sub_objects=true)
 
 isVisible (int $ref_id, string $type)
 
 setColumnSettings (ilColumnGUI $column_gui)
 
 view ()
 view object content (repository/workspace switch) More...
 
 getType ()
 Functions that must be overwritten. More...
 
 create ()
 CRUD. More...
 
 save ()
 
 edit ()
 
 update ()
 
 cancel ()
 
 putObjectInTree (ilObject $obj, ?int $parent_node_id=null)
 Add object to tree at given position. More...
 
- Public Member Functions inherited from ilObjectGUI
 getRefId ()
 
 setAdminMode (string $mode)
 
 getAdminMode ()
 
 getObject ()
 
 executeCommand ()
 
 withReferences ()
 determines whether objects are referenced or not (got ref ids or not) More...
 
 setCreationMode (bool $mode=true)
 If true, a creation screen is displayed the current [ref_id] does belong to the parent class The mode is determined in ilRepositoryGUI. More...
 
 getCreationMode ()
 
 prepareOutput (bool $show_sub_objects=true)
 
 getAdminTabs ()
 administration tabs show only permissions and trash folder More...
 
 getHTML ()
 
 confirmedDeleteObject ()
 confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled More...
 
 cancelObject ()
 cancel action and go back to previous page More...
 
 createObject ()
 create new object form More...
 
 editAvailabilityPeriodObject ()
 
 saveAvailabilityPeriodObject ()
 
 cancelCreation ()
 cancel create action and go back to repository parent More...
 
 saveObject ()
 
 getDidacticTemplateVar (string $type)
 Get didactic template setting from creation screen. More...
 
 putObjectInTree (ilObject $obj, ?int $parent_node_id=null)
 Add object to tree at given position. More...
 
 editObject ()
 
 addExternalEditFormCustom (ilPropertyFormGUI $form)
 
 updateObject ()
 updates object entry in object_data More...
 
 getFormAction (string $cmd, string $default_form_action="")
 Get form action for command (command is method name without "Object", e.g. More...
 
 isVisible (int $ref_id, string $type)
 
 viewObject ()
 viewObject container presentation for "administration -> repository, trash, permissions" More...
 
 deleteObject (bool $error=false)
 Display deletion confirmation screen. More...
 
 setColumnSettings (ilColumnGUI $column_gui)
 
 addToDeskObject ()
 
 removeFromDeskObject ()
 
- Public Member Functions inherited from ILIAS\Object\ImplementsCreationCallback
 callCreationCallback (\ilObject $object, \ilObjectDefinition $obj_definition, int $requested_crtcb)
 
- Public Member Functions inherited from ilDesktopItemHandling
 addToDeskObject ()
 
 removeFromDeskObject ()
 

Static Public Member Functions

static _goto (string $a_target)
 _goto Deep link More...
 
- Static Public Member Functions inherited from ilObject2GUI
static handleAfterSaveCallback (ilObject $obj, ?int $callback_ref_id)
 After creation callback. More...
 
- Static Public Member Functions inherited from ilObjectGUI
static _gotoRepositoryRoot (bool $raise_error=false)
 Goto repository root. More...
 
static _gotoRepositoryNode (int $ref_id, string $cmd="")
 
static _gotoSharedWorkspaceNode (int $wsp_id)
 

Data Fields

const P_ENTRY_ID = 'entry_id'
 
const CMD_SHOW_CONTENT = 'showContent'
 
const CMD_SEND_FILE = "sendFile"
 
const TAB_CONTENT = "content"
 
const SUB_TAB_FILTER = "filter"
 
const CMD_VIEW = "view"
 
const TAB_EXPORT = "export"
 
const TAB_SETTINGS = self::SUBTAB_SETTINGS
 
const TAB_ID_RECORDS = "id_records"
 
const TAB_ID_PERMISSIONS = "id_permissions"
 
const TAB_ID_INFO = "id_info"
 
const CMD_SHOW_DETAILS = "showDetails"
 
const SUBTAB_SETTINGS = "settings"
 
const CMD_EDIT_OBJECT = 'editObject'
 
const CMD_UPDATE_OBJECT = "updateObject"
 
const CMD_SETTINGS = "settings"
 
const CMD_OVERWRITE_BIBLIOGRAPHIC_FILE = "overwriteBibliographicFile"
 
const CMD_REPLACE_BIBLIOGRAPHIC_FILE = "replaceBibliographicFile"
 
const SECTION_REPLACE_BIBLIOGRAPHIC_FILE = 'section_replace_bibliographic_file'
 
const PROP_BIBLIOGRAPHIC_FILE = "bibliographic_file"
 
const SECTION_EDIT_BIBLIOGRAPHY = 'section_edit_bibliography'
 
const PROP_TITLE_AND_DESC = 'title_and_desc'
 
const SECTION_AVAILABILITY = 'section_availability'
 
const PROP_ONLINE_STATUS = 'online_status'
 
const SECTION_PRESENTATION = 'section_presentation'
 
const PROP_TILE_IMAGE = 'tile_image'
 
ilObject $object = null
 
- Data Fields inherited from ilObject2GUI
const OBJECT_ID = 0
 
const REPOSITORY_NODE_ID = 1
 
const WORKSPACE_NODE_ID = 2
 
const REPOSITORY_OBJECT_ID = 3
 
const WORKSPACE_OBJECT_ID = 4
 
const PORTFOLIO_OBJECT_ID = 5
 
- Data Fields inherited from ilObjectGUI
const ADMIN_MODE_NONE = ""
 
const ADMIN_MODE_SETTINGS = "settings"
 
const ADMIN_MODE_REPOSITORY = "repository"
 
const UPLOAD_TYPE_LOCAL = 1
 
const UPLOAD_TYPE_UPLOAD_DIRECTORY = 2
 
const CFORM_NEW = 1
 
const CFORM_IMPORT = 2
 
const CFORM_CLONE = 3
 
const SUPPORTED_IMPORT_MIME_TYPES = [MimeType::APPLICATION__ZIP, MimeType::APPLICATION__X_ZIP_COMPRESSED]
 

Protected Member Functions

 initCreateForm (string $new_type)
 
 afterSave (ilObject $a_new_object)
 
 settings ()
 
 getValidBiblFileSuffixConstraint ()
 
 initSubTabs ()
 
 applyFilter ()
 
 resetFilter ()
 
- Protected Member Functions inherited from ilObject2GUI
 afterConstructor ()
 Do anything that should be done after constructor in here. More...
 
 assignObject ()
 create object instance as internal property (repository/workspace switch) More...
 
 getAccessHandler ()
 
 setLocator ()
 set Locator More...
 
 deleteConfirmedObjects ()
 Delete objects (workspace specific) This should probably be moved elsewhere as done with RepUtil. More...
 
 setTitleAndDescription ()
 
 omitLocator (bool $omit=true)
 
 getTargetFrame (string $cmd, string $target_frame="")
 
 setTargetFrame (string $cmd, string $target_frame)
 
 getCenterColumnHTML ()
 
 getRightColumnHTML ()
 
 checkPermission (string $perm, string $cmd="", string $type="", ?int $ref_id=null)
 
 showPossibleSubObjects ()
 
 redirectToRefId (int $ref_id, string $cmd="")
 
 addAdminLocatorItems (bool $do_not_add_object=false)
 
 setTabs ()
 create tabs (repository/workspace switch) More...
 
 getReturnLocation (string $cmd, string $location="")
 Deprecated functions. More...
 
 setReturnLocation (string $cmd, string $location)
 
 showActions ()
 
 getTabs ()
 
 addLocatorItems ()
 Functions to be overwritten. More...
 
 checkPermissionBool (string $perm, string $cmd="", string $type="", ?int $node_id=null)
 
 initHeaderAction (?string $sub_type=null, ?int $sub_id=null)
 Add header action menu. More...
 
 redrawHeaderAction ()
 Updating icons after ajax call. More...
 
- Protected Member Functions inherited from ilObjectGUI
 getObjectService ()
 
 assignObject ()
 
 setTitleAndDescription ()
 
 createActionDispatcherGUI ()
 
 initHeaderAction (?string $sub_type=null, ?int $sub_id=null)
 Add header action menu. More...
 
 insertHeaderAction (?ilObjectListGUI $list_gui=null)
 Insert header action into main template. More...
 
 addHeaderAction ()
 Add header action menu. More...
 
 redrawHeaderActionObject ()
 Ajax call: redraw action header only. More...
 
 setTabs ()
 set admin tabs More...
 
 setAdminTabs ()
 set admin tabs More...
 
 setLocator ()
 
 addLocatorItems ()
 should be overwritten to add object specific items (repository items are preloaded) More...
 
 omitLocator (bool $omit=true)
 
 addAdminLocatorItems (bool $do_not_add_object=false)
 should be overwritten to add object specific items (repository items are preloaded) More...
 
 getCreationFormsHTML (StandardForm|ilPropertyFormGUI|array $form)
 
 getTitleForCreationFormPage ()
 
 getCreationFormTitle ()
 
 initCreateForm (string $new_type)
 
 didacticTemplatesToForm ()
 
 initDidacticTemplate (ilPropertyFormGUI $form)
 
 retrieveAdditionalDidacticTemplateOptions ()
 
 addAdoptContentLinkToToolbar ()
 
 addImportButtonToToolbar ()
 
 addAvailabilityPeriodButtonToToolbar (ilToolbarGUI $toolbar)
 
 parseDidacticTemplateVar (string $var, string $type)
 
 afterSave (ilObject $new_object)
 Post (successful) object creation hook. More...
 
 initEditForm ()
 
 initEditCustomForm (ilPropertyFormGUI $a_form)
 Add custom fields to update form. More...
 
 getEditFormValues ()
 
 getEditFormCustomValues (array &$a_values)
 Add values to custom edit fields. More...
 
 validateCustom (ilPropertyFormGUI $form)
 Validate custom values (if not possible with checkInput()) More...
 
 updateCustom (ilPropertyFormGUI $form)
 Insert custom update form values into object. More...
 
 afterUpdate ()
 Post (successful) object update hook. More...
 
 routeImportCmdObject ()
 
 importFile (string $file_to_import, string $path_to_uploaded_file_in_temp_dir)
 
 deleteUploadedImportFile (string $path_to_uploaded_file_in_temp_dir)
 
 afterImport (ilObject $new_object)
 Post (successful) object import hook. More...
 
 setFormAction (string $cmd, string $form_action)
 
 getReturnLocation (string $cmd, string $default_location="")
 Get return location for command (command is method name without "Object", e.g. More...
 
 setReturnLocation (string $cmd, string $location)
 set specific return location for command More...
 
 getTargetFrame (string $cmd, string $default_target_frame="")
 get target frame for command (command is method name without "Object", e.g. More...
 
 setTargetFrame (string $cmd, string $target_frame)
 Set specific target frame for command. More...
 
 showPossibleSubObjects ()
 show possible sub objects (pull down menu) More...
 
 getTabs ()
 overwrite in derived GUI class of your object type More...
 
 redirectToRefId (int $ref_id, string $cmd="")
 redirects to (repository) view per ref id usually to a container and usually used at the end of a save/import method where the object gui type (of the new object) doesn't match with the type of the current ["ref_id"] value of the request More...
 
 getCenterColumnHTML ()
 Get center column. More...
 
 getRightColumnHTML ()
 Display right column. More...
 
 checkPermission (string $perm, string $cmd="", string $type="", ?int $ref_id=null)
 
 checkPermissionBool (string $perm, string $cmd="", string $type="", ?int $ref_id=null)
 
 enableDragDropFileUpload ()
 Enables the file upload into this object by dropping files. More...
 
 getCreatableObjectTypes ()
 
 buildAddNewItemElements (array $subtypes, string $create_target_class=ilRepositoryGUI::class, ?int $redirect_target_ref_id=null,)
 
 buildGroup (string $create_target_class, array $obj_types_in_group, string $title, array $subtypes)
 

Protected Attributes

ilBiblFactoryFacade $facade = null
 
ilBiblTranslationFactory $translation_factory
 
ilBiblFieldFactory $field_factory
 
ilBiblFieldFilterFactory $filter_factory
 
ilBiblTypeFactory $type_factory
 
ilHelpGUI $help
 
Services $storage
 
ilObjBibliographicStakeholder $stakeholder
 
ILIAS HTTP Services $http
 
Factory $ui_factory
 
ILIAS Refinery Factory $refinery
 
string $cmd = self::CMD_SHOW_CONTENT
 
- Protected Attributes inherited from ilObject2GUI
ilObjectDefinition $obj_definition
 
ilGlobalTemplateInterface $tpl
 
ilCtrl $ctrl
 
ilLanguage $lng
 
ilTabsGUI $tabs_gui
 
ilFavouritesManager $favourites
 
ilErrorHandling $error
 
ilLocatorGUI $locator
 
ilObjUser $user
 
ilAccessHandler $access
 
ilToolbarGUI $toolbar
 
ArrayBasedRequestWrapper $post_wrapper
 
RequestWrapper $request_wrapper
 
Factory $refinery
 
ilRbacAdmin $rbac_admin
 
ilRbacSystem $rbac_system
 
ilRbacReview $rbac_review
 
int $request_ref_id
 
int $id_type
 
int $parent_id
 
string $type
 
string $html
 
int $object_id
 
int $node_id = null
 
array $creation_forms = []
 
 $access_handler
 
- Protected Attributes inherited from ilObjectGUI
ILIAS Notes Service $notes_service
 
ServerRequestInterface $request
 
ilLocatorGUI $locator
 
ilObjUser $user
 
ilAccessHandler $access
 
ilSetting $settings
 
ilToolbarGUI $toolbar
 
ilRbacAdmin $rbac_admin
 
ilRbacSystem $rbac_system
 
ilRbacReview $rbac_review
 
ilObjectService $object_service
 
ilObjectDefinition $obj_definition
 
ilGlobalTemplateInterface $tpl
 
ilTree $tree
 
ilCtrl $ctrl
 
ilErrorHandling $error
 
ilLanguage $lng
 
ilTabsGUI $tabs_gui
 
ILIAS $ilias
 
ArrayBasedRequestWrapper $post_wrapper
 
RequestWrapper $request_wrapper
 
Refinery $refinery
 
ilFavouritesManager $favourites
 
ilObjectCustomIconFactory $custom_icon_factory
 
UIFactory $ui_factory
 
UIRenderer $ui_renderer
 
Filesystem $temp_file_system
 
ilObject $object = null
 
bool $creation_mode = false
 
 $data
 
int $id
 
bool $call_by_reference = false
 
bool $prepare_output
 
int $ref_id
 
int $obj_id
 
int $maxcount
 
array $form_action = []
 
array $return_location = []
 
array $target_frame = []
 
string $tmp_import_dir
 
string $sub_objects = ""
 
bool $omit_locator = false
 
string $type = ""
 
string $admin_mode = self::ADMIN_MODE_NONE
 
int $requested_ref_id = 0
 
int $requested_crtptrefid = 0
 
int $requested_crtcb = 0
 
string $requested_new_type = ""
 
string $link_params
 
string $html = ""
 

Private Member Functions

 replaceBibliograficFileInit ()
 
 handleNonAccess ()
 

Detailed Description

Member Function Documentation

◆ _goto()

static ilObjBibliographicGUI::_goto ( string  $a_target)
static

_goto Deep link

Definition at line 272 of file class.ilObjBibliographicGUI.php.

References $DIC, ilObjectGUI\$id, and P_ENTRY_ID.

272  : void
273  {
274  global $DIC;
275 
276  $id = explode("_", $a_target);
277  $DIC->ctrl()->setTargetScript('ilias.php');
278  $DIC->ctrl()->setParameterByClass(ilObjBibliographicGUI::class, "ref_id", (int) ($id[0] ?? 1));
279  // Detail-View
280  if (isset($id[1]) && $id[1] !== '') {
281  $DIC->ctrl()
282  ->setParameterByClass(ilObjBibliographicGUI::class, ilObjBibliographicGUI::P_ENTRY_ID, $id[1]);
283  $DIC->ctrl()->redirectByClass(
284  [
285  ilRepositoryGUI::class,
286  ilObjBibliographicGUI::class,
287  ],
288  self::CMD_SHOW_DETAILS
289  );
290  } else {
291  $DIC->ctrl()->redirectByClass(
292  [
293  ilRepositoryGUI::class,
294  ilObjBibliographicGUI::class,
295  ],
296  self::CMD_VIEW
297  );
298  }
299  }
global $DIC
Definition: shib_login.php:22

◆ addLocatorItems()

ilObjBibliographicGUI::addLocatorItems ( )

Definition at line 259 of file class.ilObjBibliographicGUI.php.

References $DIC, ilObject2GUI\$node_id, ILIAS\Repository\ctrl(), and ILIAS\Repository\object().

259  : void
260  {
261  global $DIC;
262  $ilLocator = $DIC['ilLocator'];
263  if (is_object($this->object)) {
264  $ilLocator->addItem($this->object->getTitle(), $this->ctrl->getLinkTarget($this, ""), "", $this->node_id);
265  }
266  }
global $DIC
Definition: shib_login.php:22
+ Here is the call graph for this function:

◆ addNews()

ilObjBibliographicGUI::addNews ( int  $obj_id,
string  $change = 'created' 
)

Definition at line 849 of file class.ilObjBibliographicGUI.php.

References $DIC, getType(), NEWS_NOTICE, and NEWS_USERS.

Referenced by afterSave().

849  : void
850  {
851  global $DIC;
852 
853  $ilNewsItem = new ilNewsItem();
854  $ilNewsItem->setTitle($DIC->language()->txt('news_title_' . $change));
855  $ilNewsItem->setPriority(NEWS_NOTICE);
856  $ilNewsItem->setContext($obj_id, $this->getType());
857  $ilNewsItem->setUserId($DIC->user()->getId());
858  $ilNewsItem->setVisibility(NEWS_USERS);
859  $ilNewsItem->setContentTextIsLangVar(false);
860  $ilNewsItem->create();
861  }
const NEWS_NOTICE
global $DIC
Definition: shib_login.php:22
A news item can be created by different sources.
const NEWS_USERS
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addToDesk()

ilObjBibliographicGUI::addToDesk ( )

Add desktop item.

Alias for addToDeskObject. public

Definition at line 867 of file class.ilObjBibliographicGUI.php.

References ilDesktopItemHandling\addToDeskObject().

867  : void
868  {
869  $this->addToDeskObject();
870  }
+ Here is the call graph for this function:

◆ afterSave()

ilObjBibliographicGUI::afterSave ( ilObject  $a_new_object)
protected

Definition at line 415 of file class.ilObjBibliographicGUI.php.

References addNews(), ILIAS\Repository\ctrl(), and ilObject\getId().

Referenced by saveObject().

415  : void
416  {
417  $this->addNews($a_new_object->getId(), 'created');
418  $this->ctrl->redirect($this, self::CMD_EDIT_OBJECT);
419  }
addNews(int $obj_id, string $change='created')
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ applyFilter()

ilObjBibliographicGUI::applyFilter ( )
protected

Definition at line 741 of file class.ilObjBibliographicGUI.php.

References ILIAS\Repository\ctrl(), and ILIAS\Repository\ui().

741  : void
742  {
743  $table = new ilBiblEntryTableGUI($this, $this->facade, $this->ui());
744  $table->writeFilterToSession();
745  $table->resetOffset();
746  $this->ctrl->redirect($this, self::CMD_SHOW_CONTENT);
747  }
+ Here is the call graph for this function:

◆ editObject()

ilObjBibliographicGUI::editObject ( )

edit object public

Definition at line 627 of file class.ilObjBibliographicGUI.php.

References ilObject2GUI\checkPermissionBool(), getSettingsForm(), ILIAS\Repository\lng(), render(), renderer(), and ILIAS\Repository\ui().

627  : void
628  {
629  if (!$this->checkPermissionBool("write")) {
630  $this->error->raiseError($this->lng->txt("msg_no_perm_write"), $this->error->MESSAGE);
631  }
632 
633  $this->tabs_gui->activateTab("settings");
634  $form = $this->getSettingsForm();
635  $this->tpl->setContent($this->ui()->renderer()->render($form));
636  }
renderer()
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $node_id=null)
+ Here is the call graph for this function:

◆ executeCommand()

ilObjBibliographicGUI::executeCommand ( )

executeCommand

Definition at line 131 of file class.ilObjBibliographicGUI.php.

References $DIC, ilObjectGUI\addHeaderAction(), ILIAS\Repository\ctrl(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), getStandardCmd(), handleNonAccess(), initSubTabs(), null, ILIAS\Repository\object(), and ilObject2GUI\prepareOutput().

131  : void
132  {
133  global $DIC;
134  $ilNavigationHistory = $DIC['ilNavigationHistory'];
135 
136  // Navigation History
137  $link = $this->dic()->ctrl()->getLinkTarget($this, $this->getStandardCmd());
138  if ($this->object != null) {
139  $ilNavigationHistory->addItem($this->object->getRefId(), $link, "bibl");
140  $this->addHeaderAction();
141  }
142 
143  // general Access Check, especially for single entries not matching the object
144  if ($this->object instanceof ilObjBibliographic && !$DIC->access()->checkAccess(
145  'read',
146  "",
147  $this->object->getRefId()
148  )) {
149  $this->handleNonAccess();
150  }
151 
152  $next_class = $this->dic()->ctrl()->getNextClass($this);
153  $this->cmd = $this->dic()->ctrl()->getCmd();
154  switch ($next_class) {
155  case strtolower(ilInfoScreenGUI::class):
156  $this->prepareOutput();
157  $this->dic()->tabs()->activateTab(self::TAB_ID_INFO);
158  $this->infoScreenForward();
159  break;
160  case strtolower(ilCommonActionDispatcherGUI::class):
161  $this->prepareOutput();
163  $this->ctrl->forwardCommand($gui);
164  break;
165  case strtolower(ilPermissionGUI::class):
166  $this->prepareOutput();
167  $this->dic()->tabs()->activateTab(self::TAB_ID_PERMISSIONS);
168  $this->ctrl->forwardCommand(new ilPermissionGUI($this));
169  break;
170  case strtolower(ilObjectCopyGUI::class):
171  $cp = new ilObjectCopyGUI($this);
172  $cp->setType('bibl');
173  $this->dic()['tpl']->loadStandardTemplate();
174  $this->ctrl->forwardCommand($cp);
175  break;
176  case strtolower(ilExportGUI::class):
177  $this->prepareOutput();
178  $this->dic()->tabs()->setTabActive(self::TAB_EXPORT);
179  $exp_gui = new ilExportGUI($this);
180  $exp_gui->addFormat();
181  $this->ctrl->forwardCommand($exp_gui);
182  break;
183  case strtolower(ilBiblFieldFilterGUI::class):
184  $this->prepareOutput();
185  $this->dic()->tabs()->setTabActive(self::TAB_SETTINGS);
186  $this->initSubTabs();
187  $this->tabs_gui->activateSubTab(self::SUB_TAB_FILTER);
188  $this->ctrl->forwardCommand(new ilBiblFieldFilterGUI($this->facade));
189  break;
190  case strtolower(ilObjBibliographicUploadHandlerGUI::class):
191  $rid = "";
192  if ($this->object && $this->object->getResourceId()) {
193  $rid = $this->object->getResourceId()->serialize();
194  }
195  $this->ctrl->forwardCommand(new ilObjBibliographicUploadHandlerGUI($rid));
196  break;
197  default:
198  $this->prepareOutput();
199  $cmd = $this->ctrl->getCmd(self::CMD_SHOW_CONTENT);
200  switch ($cmd) {
201  case self::CMD_SETTINGS:
202  case self::CMD_EDIT_OBJECT:
203  case self::CMD_UPDATE_OBJECT:
204  $this->initSubTabs();
205  $this->tabs_gui->activateSubTab(self::SUBTAB_SETTINGS);
206  $this->{$cmd}();
207  break;
208  default:
209  $this->{$cmd}();
210  break;
211  }
212  break;
213  }
214  }
GUI class for the workflow of copying objects.
prepareOutput(bool $show_sub_objects=true)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Class ilBiblFieldFilterGUI.
global $DIC
Definition: shib_login.php:22
Class ilObjBibliographic.
addHeaderAction()
Add header action menu.
static getInstanceFromAjaxCall()
(Re-)Build instance from ajax call
+ Here is the call graph for this function:

◆ getSettingsForm()

ilObjBibliographicGUI::getSettingsForm ( )

Definition at line 638 of file class.ilObjBibliographicGUI.php.

References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ILIAS\Repository\refinery().

Referenced by editObject(), settings(), and updateObject().

638  : Standard
639  {
640  $field_factory = $this->ui_factory->input()->field();
641 
642  $section_edit_bibliography = $field_factory->section(
643  [
644  self::PROP_TITLE_AND_DESC => $this->object->getObjectProperties()->getPropertyTitleAndDescription(
645  )->toForm(
646  $this->lng,
648  $this->refinery
649  )
650  ],
651  $this->lng->txt('bibl_edit'),
652  ''
653  );
654  $section_availability = $field_factory->section(
655  [
656  self::PROP_ONLINE_STATUS => $this->object->getObjectProperties()->getPropertyIsOnline()->toForm(
657  $this->lng,
659  $this->refinery
660  )
661  ],
662  $this->lng->txt('rep_activation_availability'),
663  ''
664  );
665  $section_presentation = $field_factory->section(
666  [
667  self::PROP_TILE_IMAGE => $this->object->getObjectProperties()->getPropertyTileImage()->toForm(
668  $this->lng,
670  $this->refinery
671  )
672  ],
673  $this->lng->txt('settings_presentation_header'),
674  ''
675  );
676 
677  return $this->ui_factory->input()->container()->form()->standard(
678  $this->ctrl->getFormAction($this, self::CMD_UPDATE_OBJECT),
679  [
680  self::SECTION_EDIT_BIBLIOGRAPHY => $section_edit_bibliography,
681  self::SECTION_AVAILABILITY => $section_availability,
682  self::SECTION_PRESENTATION => $section_presentation
683  ]
684  );
685  }
This describes a standard form.
Definition: Standard.php:28
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getStandardCmd()

ilObjBibliographicGUI::getStandardCmd ( )

getStandardCmd

Definition at line 113 of file class.ilObjBibliographicGUI.php.

Referenced by executeCommand().

113  : string
114  {
115  return self::CMD_VIEW;
116  }
+ Here is the caller graph for this function:

◆ getType()

ilObjBibliographicGUI::getType ( )

getType

Deprecated:
REFACTOR use type factory via Facade

Definition at line 122 of file class.ilObjBibliographicGUI.php.

Referenced by addNews(), and save().

122  : string
123  {
124  return "bibl";
125  }
+ Here is the caller graph for this function:

◆ getValidBiblFileSuffixConstraint()

ilObjBibliographicGUI::getValidBiblFileSuffixConstraint ( )
protected

Definition at line 521 of file class.ilObjBibliographicGUI.php.

References $DIC, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), null, ILIAS\Repository\object(), ILIAS\Repository\refinery(), and ilObject2GUI\setTabs().

Referenced by overwriteBibliographicFile().

521  : Constraint
522  {
523  return $this->refinery->custom()->constraint(
524  function ($bibl_file_input): bool {
525  global $DIC;
526  $rid = $bibl_file_input[0];
527  $resource_identifier = $DIC->resourceStorage()->manage()->find($rid);
528  if ($resource_identifier !== null) {
529  $bibl_file = $DIC->resourceStorage()->manage()->getCurrentRevision($resource_identifier);
530  $bibl_file_suffix = $bibl_file->getInformation()->getSuffix();
531  if (in_array($bibl_file_suffix, ['ris', 'bib', 'bibtex'])) {
532  return true;
533  }
534  }
535  return false;
536  },
537  $this->lng->txt('msg_error_invalid_bibl_file_suffix')
538  );
539  }
A constraint encodes some resrtictions on values.
Definition: Constraint.php:31
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
global $DIC
Definition: shib_login.php:22
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ handleNonAccess()

ilObjBibliographicGUI::handleNonAccess ( )
private

Definition at line 892 of file class.ilObjBibliographicGUI.php.

References $DIC, and ilObjectGUI\_gotoRepositoryRoot().

Referenced by executeCommand(), sendFile(), showContent(), and showDetails().

892  : void
893  {
894  global $DIC;
895 
896  $this->tpl->setOnScreenMessage('failure', $DIC->language()->txt("no_permission"), true);
898  }
global $DIC
Definition: shib_login.php:22
static _gotoRepositoryRoot(bool $raise_error=false)
Goto repository root.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ infoScreen()

ilObjBibliographicGUI::infoScreen ( )

this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed

Definition at line 221 of file class.ilObjBibliographicGUI.php.

References $DIC, ilResourceStorageInfoGUI\append(), ILIAS\Repository\ctrl(), and ILIAS\Repository\object().

221  : void
222  {
223  // @todo: removed deprecated ilCtrl methods, this needs inspection by a maintainer.
224  // $this->ctrl->setCmd("showSummary");
225  // $this->ctrl->setCmdClass(ilInfoScreenGUI::class);
226  $this->infoScreenForward();
227  }
+ Here is the call graph for this function:

◆ initCreateForm()

ilObjBibliographicGUI::initCreateForm ( string  $new_type)
protected
Returns
mixed[]

Definition at line 305 of file class.ilObjBibliographicGUI.php.

References ILIAS\Repository\ctrl(), ilObjectGUI\initDidacticTemplate(), ILIAS\Repository\lng(), ilObject\LONG_DESC_LENGTH, ilTextAreaInputGUI\setCols(), ilFileInputGUI\setSuffixes(), and ilObject\TITLE_LENGTH.

Referenced by save(), and saveObject().

306  {
307  $form = new ilPropertyFormGUI();
308  $form->setTarget('_top');
309  $form->setFormAction($this->ctrl->getFormAction($this, 'save'));
310  $form->setTitle($this->lng->txt($new_type . '_new'));
311 
312  $ti = new ilTextInputGUI($this->lng->txt('title'), 'title');
313  $ti->setSize(min(40, ilObject::TITLE_LENGTH));
314  $ti->setMaxLength(ilObject::TITLE_LENGTH);
315  $ti->setRequired(true);
316  $form->addItem($ti);
317 
318  $ta = new ilTextAreaInputGUI($this->lng->txt('description'), 'desc');
319  $ta->setCols(40);
320  $ta->setRows(2);
321  $ta->setMaxNumOfChars(ilObject::LONG_DESC_LENGTH);
322  $form->addItem($ta);
323 
324  $in_file = new ilFileInputGUI($this->lng->txt('bibliography_file'), 'bibliographic_file');
325  $in_file->setSuffixes(['ris', 'bib', 'bibtex']);
326  $in_file->setRequired(true);
327  $form->addItem($in_file);
328 
329  $form = $this->initDidacticTemplate($form);
330 
331  $form->addCommandButton('save', $this->lng->txt($new_type . '_add'));
332  $form->addCommandButton('cancel', $this->lng->txt('cancel'));
333 
334  return $form;
335  }
const TITLE_LENGTH
This class represents a file property in a property form.
setSuffixes(array $a_suffixes)
const LONG_DESC_LENGTH
initDidacticTemplate(ilPropertyFormGUI $form)
This class represents a text area property in a property form.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initSubTabs()

ilObjBibliographicGUI::initSubTabs ( )
protected

Definition at line 605 of file class.ilObjBibliographicGUI.php.

References $DIC, ilBiblFieldFilterGUI\CMD_STANDARD, and ILIAS\Repository\ctrl().

Referenced by executeCommand().

605  : void
606  {
607  global $DIC;
608  $DIC->tabs()->addSubTab(
609  self::SUBTAB_SETTINGS,
610  $DIC->language()
611  ->txt(self::SUBTAB_SETTINGS),
612  $this->ctrl->getLinkTarget($this, self::CMD_EDIT_OBJECT)
613  );
614  $DIC->tabs()->addSubTab(
615  self::SUB_TAB_FILTER,
616  $DIC->language()
617  ->txt("bibl_filter"),
618  $this->ctrl->getLinkTargetByClass(ilBiblFieldFilterGUI::class, ilBiblFieldFilterGUI::CMD_STANDARD)
619  );
620  }
global $DIC
Definition: shib_login.php:22
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ overwriteBibliographicFile()

ilObjBibliographicGUI::overwriteBibliographicFile ( )

Definition at line 444 of file class.ilObjBibliographicGUI.php.

References ilObjectGUI\$data, ILIAS\Repository\ctrl(), ilObjectGUI\getObject(), getValidBiblFileSuffixConstraint(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), null, render(), renderer(), replaceBibliograficFileInit(), and ILIAS\Repository\ui().

444  : void
445  {
447 
448  $this->tpl->setContent($this->ui()->renderer()->render($this->getReplaceBibliographicFileForm()));
449  }
renderer()
+ Here is the call graph for this function:

◆ removeFromDesk()

ilObjBibliographicGUI::removeFromDesk ( )

Remove from desktop.

Alias for removeFromDeskObject. public

Definition at line 876 of file class.ilObjBibliographicGUI.php.

References ilObjectGUI\afterImport(), and ilDesktopItemHandling\removeFromDeskObject().

876  : void
877  {
878  $this->removeFromDeskObject();
879  }
+ Here is the call graph for this function:

◆ render()

ilObjBibliographicGUI::render ( )

Definition at line 687 of file class.ilObjBibliographicGUI.php.

References showContent().

Referenced by editObject(), overwriteBibliographicFile(), settings(), and updateObject().

687  : void
688  {
689  $this->showContent();
690  }
showContent()
shows the overview page with all entries in a table
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ replaceBibliograficFileInit()

ilObjBibliographicGUI::replaceBibliograficFileInit ( )
private

Definition at line 426 of file class.ilObjBibliographicGUI.php.

References $DIC, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ILIAS\Repository\tabs().

Referenced by overwriteBibliographicFile().

426  : void
427  {
428  if (!$DIC->access()->checkAccess('write', "", $this->object->getRefId())) {
429  $this->ctrl->redirect($this, self::CMD_SHOW_CONTENT);
430  return;
431  }
432  $this->tabs()->clearTargets();
433  $this->tabs()->setBackTarget(
434  $this->lng->txt('back'),
435  $this->ctrl->getLinkTarget($this, self::CMD_SHOW_CONTENT)
436  );
437 
438  $this->tpl->setOnScreenMessage(
439  'info',
440  $this->lng->txt('replace_bibliography_file_info')
441  );
442  }
global $DIC
Definition: shib_login.php:22
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ resetFilter()

ilObjBibliographicGUI::resetFilter ( )
protected

Definition at line 749 of file class.ilObjBibliographicGUI.php.

References ILIAS\Repository\ctrl(), and ILIAS\Repository\ui().

749  : void
750  {
751  $table = new ilBiblEntryTableGUI($this, $this->facade, $this->ui());
752  $table->resetFilter();
753  $table->resetOffset();
754  $this->ctrl->redirect($this, self::CMD_SHOW_CONTENT);
755  }
+ Here is the call graph for this function:

◆ save()

ilObjBibliographicGUI::save ( )

Definition at line 338 of file class.ilObjBibliographicGUI.php.

References getType(), initCreateForm(), saveObject(), and ILIAS\Repository\ui().

338  : void
339  {
340  $form = $this->initCreateForm($this->getType());
341  if ($form->checkInput()) {
342  $this->saveObject();
343  } else {
344  $form->setValuesByPost();
345  $this->ui()->mainTemplate()->setContent($form->getHtml());
346  }
347  }
+ Here is the call graph for this function:

◆ saveObject()

ilObjBibliographicGUI::saveObject ( )

Definition at line 350 of file class.ilObjBibliographicGUI.php.

References afterSave(), ilObject2GUI\checkPermissionBool(), ILIAS\Repository\ctrl(), ilObjectGUI\getDidacticTemplateVar(), initCreateForm(), ILIAS\Repository\lng(), and ilObject2GUI\putObjectInTree().

Referenced by save().

350  : void
351  {
352  // create permission is already checked in createObject. This check here is done to prevent hacking attempts
353  if (!$this->checkPermissionBool('create', '', $this->requested_new_type)) {
354  $this->error->raiseError($this->lng->txt('no_create_permission'), $this->error->MESSAGE);
355  }
356 
357  $this->lng->loadLanguageModule($this->requested_new_type);
358  $this->ctrl->setParameter($this, 'new_type', $this->requested_new_type);
359 
360  $form = $this->initCreateForm($this->requested_new_type);
361  if ($form->checkInput()) {
362  $this->ctrl->setParameter($this, 'new_type', '');
363 
364  $newObj = new ilObjBibliographic();
365  $newObj->setTitle($form->getInput('title'));
366  $newObj->setDescription($form->getInput('desc'));
367  $newObj->processAutoRating();
368  $newObj->create();
369 
370  $this->putObjectInTree($newObj);
371 
372  $dtpl = $this->getDidacticTemplateVar('dtpl');
373  if ($dtpl !== 0) {
374  $newObj->applyDidacticTemplate($dtpl);
375  }
376 
377  $this->afterSave($newObj);
378  }
379 
380  $form->setValuesByPost();
381  $this->tpl->setContent($form->getHTML());
382  }
afterSave(ilObject $a_new_object)
getDidacticTemplateVar(string $type)
Get didactic template setting from creation screen.
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $node_id=null)
putObjectInTree(ilObject $obj, ?int $parent_node_id=null)
Add object to tree at given position.
Class ilObjBibliographic.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ sendFile()

ilObjBibliographicGUI::sendFile ( )

provide file as a download

Definition at line 760 of file class.ilObjBibliographicGUI.php.

References $DIC, ilFileDelivery\deliverFileAttached(), handleNonAccess(), ILIAS\Repository\object(), and showContent().

760  : void
761  {
762  global $DIC;
763 
764  if ($DIC['ilAccess']->checkAccess('read', "", $this->object->getRefId())) {
765  if (!$this->object->isMigrated()) {
766  $file_path = $this->object->getLegacyAbsolutePath();
767  if ($file_path) {
768  if (is_file($file_path)) {
770  $file_path,
771  $this->object->getFilename(),
772  'application/octet-stream'
773  );
774  } else {
775  $this->tpl->setOnScreenMessage('failure', $DIC['lng']->txt("file_not_found"));
776  $this->showContent();
777  }
778  }
779  } else {
780  $this->storage->consume()->download($this->object->getResourceId())->run();
781  }
782  } else {
783  $this->handleNonAccess();
784  }
785  }
static deliverFileAttached(string $path_to_file, ?string $download_file_name=null, ?string $mime_type=null, bool $delete_file=false)
global $DIC
Definition: shib_login.php:22
showContent()
shows the overview page with all entries in a table
+ Here is the call graph for this function:

◆ settings()

ilObjBibliographicGUI::settings ( )
protected

Definition at line 421 of file class.ilObjBibliographicGUI.php.

References getSettingsForm(), render(), renderer(), and ILIAS\Repository\ui().

421  : void
422  {
423  $this->tpl->setContent($this->ui()->renderer()->render($this->getSettingsForm()));
424  }
renderer()
+ Here is the call graph for this function:

◆ showContent()

ilObjBibliographicGUI::showContent ( )

shows the overview page with all entries in a table

Definition at line 695 of file class.ilObjBibliographicGUI.php.

References $DIC, ilObject\_lookupObjId(), ilObject\_lookupTitle(), ILIAS\Repository\ctrl(), handleNonAccess(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ILIAS\Repository\toolbar(), and ILIAS\Repository\ui().

Referenced by render(), sendFile(), and view().

695  : void
696  {
697  global $DIC;
698 
699  // if user has read permission and object is online OR user has write permissions
700  $read_access = $DIC->access()->checkAccess('read', "", $this->object->getRefId());
701  $online = $this->object->getObjectProperties()->getPropertyIsOnline()->getIsOnline();
702  $write_access = $DIC->access()->checkAccess('write', "", $this->object->getRefId());
703  if (($read_access && $online) || $write_access) {
704  $DIC->tabs()->activateTab(self::TAB_CONTENT);
705 
706  $btn_download_original_file = $this->ui()->factory()->button()->primary(
707  $this->lng->txt('download_original_file'),
708  $this->ctrl()->getLinkTargetByClass(self::class, self::CMD_SEND_FILE)
709  );
710  $this->toolbar->addComponent($btn_download_original_file);
711 
712  if ($write_access) {
713  $btn_overwrite_bibliographic_file = $this->ui()->factory()->button()->standard(
714  $this->lng->txt('replace_bibliography_file'),
715  $this->ctrl()->getLinkTargetByClass(self::class, self::CMD_OVERWRITE_BIBLIOGRAPHIC_FILE)
716  );
717  $this->toolbar->addComponent($btn_overwrite_bibliographic_file);
718  }
719 
720  $table_gui = new ilBiblEntryTableGUI($this, $this->facade, $this->ui());
721  $DIC->ui()->mainTemplate()->setContent($table_gui->getRenderedTableAndExistingFilters());
722 
723  //Permanent Link
724  $DIC->ui()->mainTemplate()->setPermanentLink("bibl", $this->object->getRefId());
725  } else {
726  $object_title = ilObject::_lookupTitle(ilObject::_lookupObjId($this->ref_id));
727  $this->tpl->setOnScreenMessage(
728  'failure',
729  sprintf(
730  $DIC->language()
731  ->txt("msg_no_perm_read_item"),
732  $object_title
733  ),
734  true
735  );
736  //redirect to repository without any parameters
737  $this->handleNonAccess();
738  }
739  }
static _lookupObjId(int $ref_id)
static _lookupTitle(int $obj_id)
global $DIC
Definition: shib_login.php:22
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ showDetails()

ilObjBibliographicGUI::showDetails ( )

Definition at line 787 of file class.ilObjBibliographicGUI.php.

References $DIC, ilObjectGUI\$id, ILIAS\Repository\ctrl(), handleNonAccess(), ILIAS\Repository\help(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ILIAS\Repository\tabs(), and ILIAS\Repository\ui().

787  : void
788  {
789  global $DIC;
790 
791  if ($DIC->access()->checkAccess('read', "", $this->object->getRefId())) {
792  $id = $DIC->http()->request()->getQueryParams()[self::P_ENTRY_ID];
793  $entry = $this->facade->entryFactory()
794  ->findByIdAndTypeString($id, $this->object->getFileTypeAsString());
795  $bibGUI = new ilBiblEntryDetailPresentationGUI(
796  $entry,
797  $this->facade,
798  $this->ctrl(),
799  $this->help,
800  $this->lng(),
801  $this->tpl(),
802  $this->tabs(),
803  $this->ui()
804  );
805 
806  $DIC->ui()->mainTemplate()->setContent($bibGUI->getHTML());
807  } else {
808  $this->handleNonAccess();
809  }
810  }
global $DIC
Definition: shib_login.php:22
Class ilBiblEntryDetailPresentationGUI.
+ Here is the call graph for this function:

◆ toggleNotification()

ilObjBibliographicGUI::toggleNotification ( )

Definition at line 818 of file class.ilObjBibliographicGUI.php.

References $DIC, ilObjectGUI\$obj_id, ilNotification\setNotification(), and ilNotification\TYPE_DATA_COLLECTION.

818  : void
819  {
820  global $DIC;
821  $ntf = $DIC->http()->wrapper()->query()->retrieve(
822  "ntf",
823  $DIC->refinery()->to()->int()
824  );
825 
826  switch ($ntf) {
827  case 1:
830  $DIC->user()
831  ->getId(),
833  false
834  );
835  break;
836  case 2:
839  $DIC->user()
840  ->getId(),
842  true
843  );
844  break;
845  }
846  $DIC->ctrl()->redirect($this, "");
847  }
static setNotification(int $type, int $user_id, int $id, bool $status=true)
Set notification status for object and user.
global $DIC
Definition: shib_login.php:22
+ Here is the call graph for this function:

◆ updateObject()

ilObjBibliographicGUI::updateObject ( )

Definition at line 385 of file class.ilObjBibliographicGUI.php.

References ILIAS\Repository\ctrl(), getSettingsForm(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), render(), renderer(), and ILIAS\Repository\ui().

385  : void
386  {
387  $form = $this->getSettingsForm();
388  $form = $form->withRequest($this->http->request());
389  $result = $form->getInputGroup()->getContent();
390 
391  if (!$result->isOK()) {
392  $this->tpl->setOnScreenMessage('failure', $result->error(), true);
393  $this->tpl->setContent(
394  $this->ui()->renderer()->render([$form])
395  );
396  } else {
397  $values = $result->value();
398 
399  $this->object->getObjectProperties()->storePropertyTitleAndDescription(
400  $values[self::SECTION_EDIT_BIBLIOGRAPHY][self::PROP_TITLE_AND_DESC]
401  );
402  $this->object->getObjectProperties()->storePropertyIsOnline(
403  $values[self::SECTION_AVAILABILITY][self::PROP_ONLINE_STATUS]
404  );
405  $this->object->getObjectProperties()->storePropertyTileImage(
406  $values[self::SECTION_PRESENTATION][self::PROP_TILE_IMAGE]
407  );
408 
409  $this->tpl->setOnScreenMessage('success', $this->lng->txt('changes_saved'), true);
410  $this->ctrl->redirect($this, self::CMD_SETTINGS);
411  }
412  }
renderer()
static http()
Fetches the global http state from ILIAS.
+ Here is the call graph for this function:

◆ view()

ilObjBibliographicGUI::view ( )

Definition at line 813 of file class.ilObjBibliographicGUI.php.

References showContent().

813  : void
814  {
815  $this->showContent();
816  }
showContent()
shows the overview page with all entries in a table
+ Here is the call graph for this function:

Field Documentation

◆ $cmd

string ilObjBibliographicGUI::$cmd = self::CMD_SHOW_CONTENT
protected

Definition at line 84 of file class.ilObjBibliographicGUI.php.

◆ $facade

ilBiblFactoryFacade ilObjBibliographicGUI::$facade = null
protected

Definition at line 72 of file class.ilObjBibliographicGUI.php.

◆ $field_factory

ilBiblFieldFactory ilObjBibliographicGUI::$field_factory
protected

Definition at line 74 of file class.ilObjBibliographicGUI.php.

◆ $filter_factory

ilBiblFieldFilterFactory ilObjBibliographicGUI::$filter_factory
protected

Definition at line 75 of file class.ilObjBibliographicGUI.php.

◆ $help

ilHelpGUI ilObjBibliographicGUI::$help
protected

Definition at line 78 of file class.ilObjBibliographicGUI.php.

◆ $http

ILIAS HTTP Services ilObjBibliographicGUI::$http
protected

Definition at line 81 of file class.ilObjBibliographicGUI.php.

◆ $object

ilObject ilObjBibliographicGUI::$object = null

Definition at line 71 of file class.ilObjBibliographicGUI.php.

◆ $refinery

ILIAS Refinery Factory ilObjBibliographicGUI::$refinery
protected

Definition at line 83 of file class.ilObjBibliographicGUI.php.

◆ $stakeholder

ilObjBibliographicStakeholder ilObjBibliographicGUI::$stakeholder
protected

Definition at line 80 of file class.ilObjBibliographicGUI.php.

◆ $storage

Services ilObjBibliographicGUI::$storage
protected

Definition at line 79 of file class.ilObjBibliographicGUI.php.

◆ $translation_factory

ilBiblTranslationFactory ilObjBibliographicGUI::$translation_factory
protected

Definition at line 73 of file class.ilObjBibliographicGUI.php.

◆ $type_factory

ilBiblTypeFactory ilObjBibliographicGUI::$type_factory
protected

Definition at line 76 of file class.ilObjBibliographicGUI.php.

◆ $ui_factory

Factory ilObjBibliographicGUI::$ui_factory
protected

Definition at line 82 of file class.ilObjBibliographicGUI.php.

◆ CMD_EDIT_OBJECT

const ilObjBibliographicGUI::CMD_EDIT_OBJECT = 'editObject'

Definition at line 57 of file class.ilObjBibliographicGUI.php.

◆ CMD_OVERWRITE_BIBLIOGRAPHIC_FILE

const ilObjBibliographicGUI::CMD_OVERWRITE_BIBLIOGRAPHIC_FILE = "overwriteBibliographicFile"

Definition at line 60 of file class.ilObjBibliographicGUI.php.

◆ CMD_REPLACE_BIBLIOGRAPHIC_FILE

const ilObjBibliographicGUI::CMD_REPLACE_BIBLIOGRAPHIC_FILE = "replaceBibliographicFile"

Definition at line 61 of file class.ilObjBibliographicGUI.php.

◆ CMD_SEND_FILE

const ilObjBibliographicGUI::CMD_SEND_FILE = "sendFile"

Definition at line 46 of file class.ilObjBibliographicGUI.php.

◆ CMD_SETTINGS

const ilObjBibliographicGUI::CMD_SETTINGS = "settings"

Definition at line 59 of file class.ilObjBibliographicGUI.php.

◆ CMD_SHOW_CONTENT

const ilObjBibliographicGUI::CMD_SHOW_CONTENT = 'showContent'

◆ CMD_SHOW_DETAILS

const ilObjBibliographicGUI::CMD_SHOW_DETAILS = "showDetails"

Definition at line 55 of file class.ilObjBibliographicGUI.php.

◆ CMD_UPDATE_OBJECT

const ilObjBibliographicGUI::CMD_UPDATE_OBJECT = "updateObject"

Definition at line 58 of file class.ilObjBibliographicGUI.php.

◆ CMD_VIEW

const ilObjBibliographicGUI::CMD_VIEW = "view"

Definition at line 49 of file class.ilObjBibliographicGUI.php.

◆ P_ENTRY_ID

const ilObjBibliographicGUI::P_ENTRY_ID = 'entry_id'

Definition at line 44 of file class.ilObjBibliographicGUI.php.

Referenced by ilObjBibliographicAccess\_checkAccess(), and _goto().

◆ PROP_BIBLIOGRAPHIC_FILE

const ilObjBibliographicGUI::PROP_BIBLIOGRAPHIC_FILE = "bibliographic_file"

Definition at line 63 of file class.ilObjBibliographicGUI.php.

◆ PROP_ONLINE_STATUS

const ilObjBibliographicGUI::PROP_ONLINE_STATUS = 'online_status'

Definition at line 67 of file class.ilObjBibliographicGUI.php.

◆ PROP_TILE_IMAGE

const ilObjBibliographicGUI::PROP_TILE_IMAGE = 'tile_image'

Definition at line 69 of file class.ilObjBibliographicGUI.php.

◆ PROP_TITLE_AND_DESC

const ilObjBibliographicGUI::PROP_TITLE_AND_DESC = 'title_and_desc'

Definition at line 65 of file class.ilObjBibliographicGUI.php.

◆ SECTION_AVAILABILITY

const ilObjBibliographicGUI::SECTION_AVAILABILITY = 'section_availability'

Definition at line 66 of file class.ilObjBibliographicGUI.php.

◆ SECTION_EDIT_BIBLIOGRAPHY

const ilObjBibliographicGUI::SECTION_EDIT_BIBLIOGRAPHY = 'section_edit_bibliography'

Definition at line 64 of file class.ilObjBibliographicGUI.php.

◆ SECTION_PRESENTATION

const ilObjBibliographicGUI::SECTION_PRESENTATION = 'section_presentation'

Definition at line 68 of file class.ilObjBibliographicGUI.php.

◆ SECTION_REPLACE_BIBLIOGRAPHIC_FILE

const ilObjBibliographicGUI::SECTION_REPLACE_BIBLIOGRAPHIC_FILE = 'section_replace_bibliographic_file'

Definition at line 62 of file class.ilObjBibliographicGUI.php.

◆ SUB_TAB_FILTER

const ilObjBibliographicGUI::SUB_TAB_FILTER = "filter"

Definition at line 48 of file class.ilObjBibliographicGUI.php.

◆ SUBTAB_SETTINGS

const ilObjBibliographicGUI::SUBTAB_SETTINGS = "settings"

Definition at line 56 of file class.ilObjBibliographicGUI.php.

◆ TAB_CONTENT

const ilObjBibliographicGUI::TAB_CONTENT = "content"

Definition at line 47 of file class.ilObjBibliographicGUI.php.

◆ TAB_EXPORT

const ilObjBibliographicGUI::TAB_EXPORT = "export"

Definition at line 50 of file class.ilObjBibliographicGUI.php.

◆ TAB_ID_INFO

const ilObjBibliographicGUI::TAB_ID_INFO = "id_info"

Definition at line 54 of file class.ilObjBibliographicGUI.php.

◆ TAB_ID_PERMISSIONS

const ilObjBibliographicGUI::TAB_ID_PERMISSIONS = "id_permissions"

Definition at line 53 of file class.ilObjBibliographicGUI.php.

◆ TAB_ID_RECORDS

const ilObjBibliographicGUI::TAB_ID_RECORDS = "id_records"

Definition at line 52 of file class.ilObjBibliographicGUI.php.

◆ TAB_SETTINGS

const ilObjBibliographicGUI::TAB_SETTINGS = self::SUBTAB_SETTINGS

Definition at line 51 of file class.ilObjBibliographicGUI.php.

Referenced by ilBiblFieldFilterGUI\executeCommand().


The documentation for this class was generated from the following file: