ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
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
 
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
 
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
 
GlobalHttpState $http
 
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
 
CustomIconFactory $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 267 of file class.ilObjBibliographicGUI.php.

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

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

◆ addLocatorItems()

ilObjBibliographicGUI::addLocatorItems ( )

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

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

254  : void
255  {
256  global $DIC;
257  $ilLocator = $DIC['ilLocator'];
258  if (is_object($this->object)) {
259  $ilLocator->addItem($this->object->getTitle(), $this->ctrl->getLinkTarget($this, ""), "", $this->node_id);
260  }
261  }
global $DIC
Definition: shib_login.php:26
+ Here is the call graph for this function:

◆ addNews()

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

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

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

Referenced by afterSave().

848  : void
849  {
850  global $DIC;
851 
852  $ilNewsItem = new ilNewsItem();
853  $ilNewsItem->setTitle($DIC->language()->txt('news_title_' . $change));
854  $ilNewsItem->setPriority(NEWS_NOTICE);
855  $ilNewsItem->setContext($obj_id, $this->getType());
856  $ilNewsItem->setUserId($DIC->user()->getId());
857  $ilNewsItem->setVisibility(NEWS_USERS);
858  $ilNewsItem->setContentTextIsLangVar(false);
859  $ilNewsItem->create();
860  }
const NEWS_NOTICE
global $DIC
Definition: shib_login.php:26
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 866 of file class.ilObjBibliographicGUI.php.

References ilDesktopItemHandling\addToDeskObject().

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

◆ afterSave()

ilObjBibliographicGUI::afterSave ( ilObject  $a_new_object)
protected

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

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

Referenced by saveObject().

410  : void
411  {
412  $this->addNews($a_new_object->getId(), 'created');
413  $this->ctrl->redirect($this, self::CMD_EDIT_OBJECT);
414  }
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 740 of file class.ilObjBibliographicGUI.php.

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

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

◆ editObject()

ilObjBibliographicGUI::editObject ( )

edit object public

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

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

628  : void
629  {
630  if (!$this->checkPermissionBool("write")) {
631  $this->error->raiseError($this->lng->txt("msg_no_perm_write"), $this->error->MESSAGE);
632  }
633 
634  $this->tabs_gui->activateTab("settings");
635  $form = $this->getSettingsForm();
636  $this->tpl->setContent($this->ui()->renderer()->render($form));
637  }
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 129 of file class.ilObjBibliographicGUI.php.

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

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

639  : Standard
640  {
641  $field_factory = $this->ui_factory->input()->field();
642 
643  $section_edit_bibliography = $field_factory->section(
644  [
645  self::PROP_TITLE_AND_DESC => $this->object->getObjectProperties()->getPropertyTitleAndDescription(
646  )->toForm(
647  $this->lng,
649  $this->refinery
650  )
651  ],
652  $this->lng->txt('bibl_edit'),
653  ''
654  );
655  $section_availability = $field_factory->section(
656  [
657  self::PROP_ONLINE_STATUS => $this->object->getObjectProperties()->getPropertyIsOnline()->toForm(
658  $this->lng,
660  $this->refinery
661  )
662  ],
663  $this->lng->txt('rep_activation_availability'),
664  ''
665  );
666  $section_presentation = $field_factory->section(
667  [
668  self::PROP_TILE_IMAGE => $this->object->getObjectProperties()->getPropertyTileImage()->toForm(
669  $this->lng,
671  $this->refinery
672  )
673  ],
674  $this->lng->txt('settings_presentation_header'),
675  ''
676  );
677 
678  return $this->ui_factory->input()->container()->form()->standard(
679  $this->ctrl->getFormAction($this, self::CMD_UPDATE_OBJECT),
680  [
681  self::SECTION_EDIT_BIBLIOGRAPHY => $section_edit_bibliography,
682  self::SECTION_AVAILABILITY => $section_availability,
683  self::SECTION_PRESENTATION => $section_presentation
684  ]
685  );
686  }
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 111 of file class.ilObjBibliographicGUI.php.

Referenced by executeCommand().

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

◆ getType()

ilObjBibliographicGUI::getType ( )

getType

Deprecated:
REFACTOR use type factory via Facade

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

Referenced by addNews(), and save().

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

◆ getValidBiblFileSuffixConstraint()

ilObjBibliographicGUI::getValidBiblFileSuffixConstraint ( )
protected

Definition at line 522 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().

522  : Constraint
523  {
524  return $this->refinery->custom()->constraint(
525  function ($bibl_file_input): bool {
526  global $DIC;
527  $rid = $bibl_file_input[0];
528  $resource_identifier = $DIC->resourceStorage()->manage()->find($rid);
529  if ($resource_identifier !== null) {
530  $bibl_file = $DIC->resourceStorage()->manage()->getCurrentRevision($resource_identifier);
531  $bibl_file_suffix = $bibl_file->getInformation()->getSuffix();
532  if (in_array($bibl_file_suffix, ['ris', 'bib', 'bibtex'])) {
533  return true;
534  }
535  }
536  return false;
537  },
538  $this->lng->txt('msg_error_invalid_bibl_file_suffix')
539  );
540  }
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:26
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ handleNonAccess()

ilObjBibliographicGUI::handleNonAccess ( )
private

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

References $DIC, and ilObjectGUI\_gotoRepositoryRoot().

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

891  : void
892  {
893  global $DIC;
894 
895  $this->tpl->setOnScreenMessage('failure', $DIC->language()->txt("no_permission"), true);
897  }
global $DIC
Definition: shib_login.php:26
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 219 of file class.ilObjBibliographicGUI.php.

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

219  : void
220  {
221  $this->ctrl->redirectByClass(ilInfoScreenGUI::class, "showSummary");
222  }
+ Here is the call graph for this function:

◆ initCreateForm()

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

Definition at line 300 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().

301  {
302  $form = new ilPropertyFormGUI();
303  $form->setTarget('_top');
304  $form->setFormAction($this->ctrl->getFormAction($this, 'save'));
305  $form->setTitle($this->lng->txt($new_type . '_new'));
306 
307  $ti = new ilTextInputGUI($this->lng->txt('title'), 'title');
308  $ti->setSize(min(40, ilObject::TITLE_LENGTH));
309  $ti->setMaxLength(ilObject::TITLE_LENGTH);
310  $ti->setRequired(true);
311  $form->addItem($ti);
312 
313  $ta = new ilTextAreaInputGUI($this->lng->txt('description'), 'desc');
314  $ta->setCols(40);
315  $ta->setRows(2);
316  $ta->setMaxNumOfChars(ilObject::LONG_DESC_LENGTH);
317  $form->addItem($ta);
318 
319  $in_file = new ilFileInputGUI($this->lng->txt('bibliography_file'), 'bibliographic_file');
320  $in_file->setSuffixes(['ris', 'bib', 'bibtex']);
321  $in_file->setRequired(true);
322  $form->addItem($in_file);
323 
324  $form = $this->initDidacticTemplate($form);
325 
326  $form->addCommandButton('save', $this->lng->txt($new_type . '_add'));
327  $form->addCommandButton('cancel', $this->lng->txt('cancel'));
328 
329  return $form;
330  }
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 606 of file class.ilObjBibliographicGUI.php.

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

Referenced by executeCommand().

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

◆ overwriteBibliographicFile()

ilObjBibliographicGUI::overwriteBibliographicFile ( )

Definition at line 439 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().

439  : void
440  {
442 
443  $this->tpl->setContent($this->ui()->renderer()->render($this->getReplaceBibliographicFileForm()));
444  }
renderer()
+ Here is the call graph for this function:

◆ removeFromDesk()

ilObjBibliographicGUI::removeFromDesk ( )

Remove from desktop.

Alias for removeFromDeskObject. public

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

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

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

◆ render()

ilObjBibliographicGUI::render ( )

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

References showContent().

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

688  : void
689  {
690  $this->showContent();
691  }
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 421 of file class.ilObjBibliographicGUI.php.

References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\tabs().

Referenced by overwriteBibliographicFile().

421  : void
422  {
423  if (!$this->access->checkAccess('write', "", $this->object->getRefId())) {
424  $this->ctrl->redirect($this, self::CMD_SHOW_CONTENT);
425  return;
426  }
427  $this->tabs()->clearTargets();
428  $this->tabs()->setBackTarget(
429  $this->lng->txt('back'),
430  $this->ctrl->getLinkTarget($this, self::CMD_SHOW_CONTENT)
431  );
432 
433  $this->tpl->setOnScreenMessage(
434  'info',
435  $this->lng->txt('replace_bibliography_file_info')
436  );
437  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ resetFilter()

ilObjBibliographicGUI::resetFilter ( )
protected

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

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

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

◆ save()

ilObjBibliographicGUI::save ( )

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

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

333  : void
334  {
335  $form = $this->initCreateForm($this->getType());
336  if ($form->checkInput()) {
337  $this->saveObject();
338  } else {
339  $form->setValuesByPost();
340  $this->ui()->mainTemplate()->setContent($form->getHtml());
341  }
342  }
+ Here is the call graph for this function:

◆ saveObject()

ilObjBibliographicGUI::saveObject ( )

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

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

Referenced by save().

345  : void
346  {
347  // create permission is already checked in createObject. This check here is done to prevent hacking attempts
348  if (!$this->checkPermissionBool('create', '', $this->requested_new_type)) {
349  $this->error->raiseError($this->lng->txt('no_create_permission'), $this->error->MESSAGE);
350  }
351 
352  $this->lng->loadLanguageModule($this->requested_new_type);
353  $this->ctrl->setParameter($this, 'new_type', $this->requested_new_type);
354 
355  $form = $this->initCreateForm($this->requested_new_type);
356  if ($form->checkInput()) {
357  $this->ctrl->setParameter($this, 'new_type', '');
358 
359  $newObj = new ilObjBibliographic();
360  $newObj->setTitle($form->getInput('title'));
361  $newObj->setDescription($form->getInput('desc'));
362  $newObj->processAutoRating();
363  $newObj->create();
364 
365  $this->putObjectInTree($newObj);
366 
367  $dtpl = $this->getDidacticTemplateVar('dtpl');
368  if ($dtpl !== 0) {
369  $newObj->applyDidacticTemplate($dtpl);
370  }
371 
372  $this->afterSave($newObj);
373  }
374 
375  $form->setValuesByPost();
376  $this->tpl->setContent($form->getHTML());
377  }
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 759 of file class.ilObjBibliographicGUI.php.

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

759  : void
760  {
761  global $DIC;
762 
763  if ($DIC['ilAccess']->checkAccess('read', "", $this->object->getRefId())) {
764  if (!$this->object->isMigrated()) {
765  $file_path = $this->object->getLegacyAbsolutePath();
766  if ($file_path) {
767  if (is_file($file_path)) {
769  $file_path,
770  $this->object->getFilename(),
771  'application/octet-stream'
772  );
773  } else {
774  $this->tpl->setOnScreenMessage('failure', $DIC['lng']->txt("file_not_found"));
775  $this->showContent();
776  }
777  }
778  } else {
779  $this->storage->consume()->download($this->object->getResourceId())->run();
780  }
781  } else {
782  $this->handleNonAccess();
783  }
784  }
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:26
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 416 of file class.ilObjBibliographicGUI.php.

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

416  : void
417  {
418  $this->tpl->setContent($this->ui()->renderer()->render($this->getSettingsForm()));
419  }
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 696 of file class.ilObjBibliographicGUI.php.

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

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

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

◆ showDetails()

ilObjBibliographicGUI::showDetails ( )

Definition at line 786 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().

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

◆ toggleNotification()

ilObjBibliographicGUI::toggleNotification ( )

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

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

817  : void
818  {
819  global $DIC;
820  $ntf = $DIC->http()->wrapper()->query()->retrieve(
821  "ntf",
822  $DIC->refinery()->to()->int()
823  );
824 
825  switch ($ntf) {
826  case 1:
829  $DIC->user()
830  ->getId(),
832  false
833  );
834  break;
835  case 2:
838  $DIC->user()
839  ->getId(),
841  true
842  );
843  break;
844  }
845  $DIC->ctrl()->redirect($this, "");
846  }
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:26
+ Here is the call graph for this function:

◆ updateObject()

ilObjBibliographicGUI::updateObject ( )

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

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

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

◆ view()

ilObjBibliographicGUI::view ( )

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

References showContent().

812  : void
813  {
814  $this->showContent();
815  }
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 83 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.

◆ $object

ilObject ilObjBibliographicGUI::$object = null

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

◆ $refinery

ILIAS Refinery Factory ilObjBibliographicGUI::$refinery
protected

Definition at line 82 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 81 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: