ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
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 ()
 

Private Attributes

UploadLimitResolver $upload_limit
 

Detailed Description

Member Function Documentation

◆ _goto()

static ilObjBibliographicGUI::_goto ( string  $a_target)
static

_goto Deep link

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

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

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

◆ addLocatorItems()

ilObjBibliographicGUI::addLocatorItems ( )

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

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

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

◆ addNews()

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

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

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

Referenced by afterSave().

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

References ilDesktopItemHandling\addToDeskObject().

862  : void
863  {
864  $this->addToDeskObject();
865  }
+ Here is the call graph for this function:

◆ afterSave()

ilObjBibliographicGUI::afterSave ( ilObject  $a_new_object)
protected

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

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

Referenced by saveObject().

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

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

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

◆ editObject()

ilObjBibliographicGUI::editObject ( )

edit object public

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

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

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

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

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

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

Referenced by executeCommand().

116  : string
117  {
118  return self::CMD_VIEW;
119  }
+ Here is the caller graph for this function:

◆ getType()

ilObjBibliographicGUI::getType ( )

getType

Deprecated:
REFACTOR use type factory via Facade

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

Referenced by addNews(), and save().

125  : string
126  {
127  return "bibl";
128  }
+ 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(), 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
global $DIC
Definition: shib_login.php:25
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ handleNonAccess()

ilObjBibliographicGUI::handleNonAccess ( )
private

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

References $DIC, and ilObjectGUI\_gotoRepositoryRoot().

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

886  : void
887  {
888  global $DIC;
889 
890  $this->tpl->setOnScreenMessage('failure', $DIC->language()->txt("no_permission"), true);
892  }
global $DIC
Definition: shib_login.php:25
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 223 of file class.ilObjBibliographicGUI.php.

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

223  : void
224  {
225  $this->ctrl->redirectByClass(ilInfoScreenGUI::class, "showSummary");
226  }
+ Here is the call graph for this function:

◆ initCreateForm()

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

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

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

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

Referenced by executeCommand().

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

◆ overwriteBibliographicFile()

ilObjBibliographicGUI::overwriteBibliographicFile ( )

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

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

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

◆ removeFromDesk()

ilObjBibliographicGUI::removeFromDesk ( )

Remove from desktop.

Alias for removeFromDeskObject. public

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

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

871  : void
872  {
873  $this->removeFromDeskObject();
874  }
+ Here is the call graph for this function:

◆ render()

ilObjBibliographicGUI::render ( )

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

References showContent().

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

685  : void
686  {
687  $this->showContent();
688  }
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 420 of file class.ilObjBibliographicGUI.php.

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

Referenced by overwriteBibliographicFile().

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

◆ resetFilter()

ilObjBibliographicGUI::resetFilter ( )
protected

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

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

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

◆ save()

ilObjBibliographicGUI::save ( )

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

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

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

◆ saveObject()

ilObjBibliographicGUI::saveObject ( )

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

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

Referenced by save().

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

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

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

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

415  : void
416  {
417  $this->tpl->setContent($this->ui()->renderer()->render($this->getSettingsForm()));
418  }
+ Here is the call graph for this function:

◆ showContent()

ilObjBibliographicGUI::showContent ( )

shows the overview page with all entries in a table

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

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

◆ showDetails()

ilObjBibliographicGUI::showDetails ( )

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

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

◆ toggleNotification()

ilObjBibliographicGUI::toggleNotification ( )

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

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

813  : void
814  {
815  global $DIC;
816  $ntf = $DIC->http()->wrapper()->query()->retrieve(
817  "ntf",
818  $DIC->refinery()->to()->int()
819  );
820 
821  switch ($ntf) {
822  case 1:
825  $DIC->user()
826  ->getId(),
828  false
829  );
830  break;
831  case 2:
834  $DIC->user()
835  ->getId(),
837  true
838  );
839  break;
840  }
841  $DIC->ctrl()->redirect($this, "");
842  }
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:25
+ 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(), 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  }
static http()
Fetches the global http state from ILIAS.
+ Here is the call graph for this function:

◆ view()

ilObjBibliographicGUI::view ( )

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

References showContent().

808  : void
809  {
810  $this->showContent();
811  }
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 86 of file class.ilObjBibliographicGUI.php.

◆ $facade

ilBiblFactoryFacade ilObjBibliographicGUI::$facade = null
protected

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

◆ $field_factory

ilBiblFieldFactory ilObjBibliographicGUI::$field_factory
protected

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

◆ $filter_factory

ilBiblFieldFilterFactory ilObjBibliographicGUI::$filter_factory
protected

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

◆ $help

ilHelpGUI ilObjBibliographicGUI::$help
protected

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

◆ $http

ILIAS HTTP Services ilObjBibliographicGUI::$http
protected

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

◆ $object

ilObject ilObjBibliographicGUI::$object = null

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

◆ $refinery

ILIAS Refinery Factory ilObjBibliographicGUI::$refinery
protected

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

◆ $stakeholder

ilObjBibliographicStakeholder ilObjBibliographicGUI::$stakeholder
protected

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

◆ $storage

Services ilObjBibliographicGUI::$storage
protected

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

◆ $translation_factory

ilBiblTranslationFactory ilObjBibliographicGUI::$translation_factory
protected

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

◆ $type_factory

ilBiblTypeFactory ilObjBibliographicGUI::$type_factory
protected

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

◆ $ui_factory

Factory ilObjBibliographicGUI::$ui_factory
protected

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

◆ $upload_limit

UploadLimitResolver ilObjBibliographicGUI::$upload_limit
private

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

◆ CMD_EDIT_OBJECT

const ilObjBibliographicGUI::CMD_EDIT_OBJECT = 'editObject'

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

◆ CMD_OVERWRITE_BIBLIOGRAPHIC_FILE

const ilObjBibliographicGUI::CMD_OVERWRITE_BIBLIOGRAPHIC_FILE = "overwriteBibliographicFile"

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

◆ CMD_REPLACE_BIBLIOGRAPHIC_FILE

const ilObjBibliographicGUI::CMD_REPLACE_BIBLIOGRAPHIC_FILE = "replaceBibliographicFile"

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

◆ CMD_SEND_FILE

const ilObjBibliographicGUI::CMD_SEND_FILE = "sendFile"

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

◆ CMD_SETTINGS

const ilObjBibliographicGUI::CMD_SETTINGS = "settings"

Definition at line 60 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 56 of file class.ilObjBibliographicGUI.php.

◆ CMD_UPDATE_OBJECT

const ilObjBibliographicGUI::CMD_UPDATE_OBJECT = "updateObject"

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

◆ CMD_VIEW

const ilObjBibliographicGUI::CMD_VIEW = "view"

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

◆ P_ENTRY_ID

const ilObjBibliographicGUI::P_ENTRY_ID = 'entry_id'

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

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

◆ PROP_BIBLIOGRAPHIC_FILE

const ilObjBibliographicGUI::PROP_BIBLIOGRAPHIC_FILE = "bibliographic_file"

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

◆ PROP_ONLINE_STATUS

const ilObjBibliographicGUI::PROP_ONLINE_STATUS = 'online_status'

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

◆ PROP_TILE_IMAGE

const ilObjBibliographicGUI::PROP_TILE_IMAGE = 'tile_image'

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

◆ PROP_TITLE_AND_DESC

const ilObjBibliographicGUI::PROP_TITLE_AND_DESC = 'title_and_desc'

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

◆ SECTION_AVAILABILITY

const ilObjBibliographicGUI::SECTION_AVAILABILITY = 'section_availability'

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

◆ SECTION_EDIT_BIBLIOGRAPHY

const ilObjBibliographicGUI::SECTION_EDIT_BIBLIOGRAPHY = 'section_edit_bibliography'

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

◆ SECTION_PRESENTATION

const ilObjBibliographicGUI::SECTION_PRESENTATION = 'section_presentation'

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

◆ SECTION_REPLACE_BIBLIOGRAPHIC_FILE

const ilObjBibliographicGUI::SECTION_REPLACE_BIBLIOGRAPHIC_FILE = 'section_replace_bibliographic_file'

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

◆ SUB_TAB_FILTER

const ilObjBibliographicGUI::SUB_TAB_FILTER = "filter"

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

◆ SUBTAB_SETTINGS

const ilObjBibliographicGUI::SUBTAB_SETTINGS = "settings"

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

◆ TAB_CONTENT

const ilObjBibliographicGUI::TAB_CONTENT = "content"

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

◆ TAB_EXPORT

const ilObjBibliographicGUI::TAB_EXPORT = "export"

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

◆ TAB_ID_INFO

const ilObjBibliographicGUI::TAB_ID_INFO = "id_info"

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

◆ TAB_ID_PERMISSIONS

const ilObjBibliographicGUI::TAB_ID_PERMISSIONS = "id_permissions"

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

◆ TAB_ID_RECORDS

const ilObjBibliographicGUI::TAB_ID_RECORDS = "id_records"

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

◆ TAB_SETTINGS

const ilObjBibliographicGUI::TAB_SETTINGS = self::SUBTAB_SETTINGS

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

Referenced by ilBiblFieldFilterGUI\executeCommand().


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