|
ILIAS
release_8 Revision v8.24
|
Collaboration diagram for ilAdvancedMDRecordGUI:Public Member Functions | |
| __construct (int $a_mode, string $a_obj_type='', int $a_obj_id=0, string $a_sub_type='', int $a_sub_id=0, bool $in_repository=true) | |
| Constructor. More... | |
| setAdvMdRecordObject (int $a_adv_id, string $a_adv_type, string $a_adv_subtype="-") | |
| Set object, that defines the adv md records being used. More... | |
| getAdvMdRecordObject () | |
| Get adv md record parameters. More... | |
| setRefId (int $a_ref_id) | |
| Set ref_id for context. More... | |
| setPropertyForm (ilPropertyFormGUI $form) | |
| setSearchValues (array $a_values) | |
| Set values for search form. More... | |
| setInfoObject (ilInfoScreenGUI $info) | |
| get info sections More... | |
| setRecordFilter (?array $filter=null) | |
| Set advanced record filter. More... | |
| parse () | |
| Get HTML. More... | |
| importEditFormPostValues () | |
| Load edit form values from post. More... | |
| writeEditForm (?int $a_obj_id=null, ?int $a_sub_id=null) | |
| Write edit form values to db. More... | |
| importSearchForm () | |
| Load edit form values from post. More... | |
| setSearchFormValues (array $a_values) | |
| parseRecordSelection (string $a_sec_head="") | |
| Parse property form in editor mode. More... | |
| saveSelection () | |
| Save selection per object. More... | |
| setTableGUI (ilTable2GUI $a_val) | |
| Set table for self::MODE_TABLE_FILTER. More... | |
| getTableGUI () | |
| setRowData (array $a_val) | |
| Set row data. More... | |
| getRowData () | |
| Get row data. More... | |
| importFilter () | |
| Import filter (post) values. More... | |
| getFilterElements (bool $a_only_non_empty=true) | |
| Get SQL conditions for current filter value(s) More... | |
Data Fields | |
| const | MODE_UNDEFINED = 0 |
| const | MODE_EDITOR = 1 |
| const | MODE_SEARCH = 2 |
| const | MODE_INFO = 3 |
| const | MODE_APP_PRESENTATION = 8 |
| const | MODE_REC_SELECTION = 4 |
| const | MODE_FILTER = 5 |
| const | MODE_TABLE_HEAD = 6 |
| const | MODE_TABLE_CELLS = 7 |
Protected Member Functions | |
| checkFilter ($record_id) | |
| Check filter. More... | |
| parseEditor () | |
| Parse property form in editor mode. More... | |
| getActiveRecords () | |
Protected Attributes | |
| ilPropertyFormGUI | $form = null |
| array | $search_values = [] |
| array | $search_form = null |
| array | $search_form_values = null |
| array | $editor_form = [] |
| ilInfoScreenGUI | $info = null |
| int | $adv_id = null |
| string | $adv_type = null |
| string | $adv_subtype = null |
| bool | $in_repository = true |
| ilObjUser | $user |
| ilLanguage | $lng |
| GlobalHttpState | $http |
| RefineryFactory | $refinery |
| array | $record_filter = null |
Private Member Functions | |
| parseSearch () | |
| Parse search. More... | |
| parseInfoPage () | |
| Presentation for info page. More... | |
| parseAppointmentPresentationa () | |
| Presentation for calendar agenda list. More... | |
| handleECSDefinitions ($a_definition) | |
| handle ecs definitions More... | |
| parseFilter () | |
| Parse property for filter (table) More... | |
| parseTableHead () | |
| Parse property for table head. More... | |
| parseTableCells () | |
| Parse table cells. More... | |
Private Attributes | |
| int | $mode = self::MODE_UNDEFINED |
| string | $obj_type = '' |
| string | $sub_type = '' |
| int | $sub_id = 0 |
| int | $obj_id = 0 |
| int | $ref_id = null |
| ilTable2GUI | $table_gui = null |
| array | $row_data = null |
| array | $adt_search = null |
Definition at line 29 of file class.ilAdvancedMDRecordGUI.php.
| ilAdvancedMDRecordGUI::__construct | ( | int | $a_mode, |
| string | $a_obj_type = '', |
||
| int | $a_obj_id = 0, |
||
| string | $a_sub_type = '', |
||
| int | $a_sub_id = 0, |
||
| bool | $in_repository = true |
||
| ) |
Constructor.
| int | $a_mode | mode either MODE_EDITOR or MODE_SEARCH |
Definition at line 92 of file class.ilAdvancedMDRecordGUI.php.
References $DIC, $in_repository, ilObject\_getAllReferences(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
Check filter.
Definition at line 191 of file class.ilAdvancedMDRecordGUI.php.
Referenced by parseEditor().
Here is the caller graph for this function:
|
protected |
Definition at line 625 of file class.ilAdvancedMDRecordGUI.php.
References $adv_id, $adv_subtype, $adv_type, ilAdvancedMDRecord\_getSelectedRecordsByObject(), and getAdvMdRecordObject().
Referenced by parseEditor(), parseFilter(), parseSearch(), parseTableCells(), and parseTableHead().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAdvancedMDRecordGUI::getAdvMdRecordObject | ( | ) |
Get adv md record parameters.
Definition at line 136 of file class.ilAdvancedMDRecordGUI.php.
References $adv_id, $adv_subtype, $adv_type, $obj_id, $obj_type, $ref_id, and $sub_type.
Referenced by getActiveRecords().
Here is the caller graph for this function:| ilAdvancedMDRecordGUI::getFilterElements | ( | bool | $a_only_non_empty = true | ) |
Get SQL conditions for current filter value(s)
Definition at line 684 of file class.ilAdvancedMDRecordGUI.php.
References $res.
| ilAdvancedMDRecordGUI::getRowData | ( | ) |
Get row data.
Definition at line 617 of file class.ilAdvancedMDRecordGUI.php.
References $row_data.
Referenced by parseTableCells().
Here is the caller graph for this function:| ilAdvancedMDRecordGUI::getTableGUI | ( | ) |
Definition at line 599 of file class.ilAdvancedMDRecordGUI.php.
References $table_gui.
|
private |
handle ecs definitions
Definition at line 531 of file class.ilAdvancedMDRecordGUI.php.
References ilECSServerSettings\getInstance().
Referenced by parseTableCells(), and parseTableHead().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAdvancedMDRecordGUI::importEditFormPostValues | ( | ) |
Load edit form values from post.
Definition at line 297 of file class.ilAdvancedMDRecordGUI.php.
References $valid.
Referenced by ilObjSessionGUI\saveObject(), and ilObjSessionGUI\updateObject().
Here is the caller graph for this function:| ilAdvancedMDRecordGUI::importFilter | ( | ) |
Import filter (post) values.
Definition at line 670 of file class.ilAdvancedMDRecordGUI.php.
| ilAdvancedMDRecordGUI::importSearchForm | ( | ) |
Load edit form values from post.
Definition at line 398 of file class.ilAdvancedMDRecordGUI.php.
| ilAdvancedMDRecordGUI::parse | ( | ) |
Get HTML.
| InvalidArgumentException | @noinspection PhpVoidFunctionResultUsedInspection |
Definition at line 206 of file class.ilAdvancedMDRecordGUI.php.
References MODE_APP_PRESENTATION, MODE_EDITOR, MODE_FILTER, MODE_INFO, MODE_REC_SELECTION, MODE_SEARCH, MODE_TABLE_CELLS, MODE_TABLE_HEAD, parseAppointmentPresentationa(), parseEditor(), parseFilter(), parseInfoPage(), parseRecordSelection(), parseSearch(), parseTableCells(), and parseTableHead().
Referenced by ilObjCategoryGUI\infoScreen(), and ilObjCourseGUI\infoScreen().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Presentation for calendar agenda list.
TODO replace this by presentation_bridge->getHTML() when maps work in modals (36490). Note that at that point formatting of maps in appointment lists has to be improved.
Definition at line 470 of file class.ilAdvancedMDRecordGUI.php.
References ilAdvancedMDSubstitution\_getInstanceByObjectType(), ilADTFactory\getInstance(), ilAdvancedMDFieldTranslations\getInstanceByRecordId(), ilAdvancedMDFieldDefinition\getInstancesByObjType(), ilAdvancedMDValues\getInstancesForObjectId(), and ILIAS\Repository\user().
Referenced by parse().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Parse property form in editor mode.
Definition at line 241 of file class.ilAdvancedMDRecordGUI.php.
References checkFilter(), ILIAS\Repository\form(), getActiveRecords(), ilADTFactory\getInstance(), ilAdvancedMDFieldTranslations\getInstanceByRecordId(), and ilAdvancedMDRecordTranslations\getInstanceByRecordId().
Referenced by parse().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Parse property for filter (table)
Definition at line 634 of file class.ilAdvancedMDRecordGUI.php.
References getActiveRecords(), ilADTFactory\getInstance(), ilAdvancedMDFieldTranslations\getInstanceByRecordId(), and ilAdvancedMDFieldDefinition\getInstancesByRecordId().
Referenced by parse().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Presentation for info page.
Definition at line 432 of file class.ilAdvancedMDRecordGUI.php.
References ilADTFactory\getInstance(), ilAdvancedMDFieldTranslations\getInstanceByRecordId(), ilAdvancedMDRecordTranslations\getInstanceByRecordId(), ilAdvancedMDValues\getInstancesForObjectId(), ILIAS\UI\examples\MessageBox\Info\info(), and ILIAS\Repository\user().
Referenced by parse().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAdvancedMDRecordGUI::parseRecordSelection | ( | string | $a_sec_head = "" | ) |
Parse property form in editor mode.
Definition at line 545 of file class.ilAdvancedMDRecordGUI.php.
References ilAdvancedMDRecord\_getActivatedRecordsByObjectType(), ILIAS\Repository\form(), ilAdvancedMDRecord\getObjRecSelection(), and ILIAS\Repository\lng().
Referenced by parse().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Parse search.
Definition at line 342 of file class.ilAdvancedMDRecordGUI.php.
References ILIAS\Repository\form(), getActiveRecords(), ilADTFactory\getInstance(), ilAdvancedMDFieldTranslations\getInstanceByRecordId(), ilAdvancedMDRecordTranslations\getInstanceByRecordId(), ilAdvancedMDFieldDefinition\getInstancesByRecordId(), and ILIAS\Repository\lng().
Referenced by parse().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Parse table cells.
Definition at line 727 of file class.ilAdvancedMDRecordGUI.php.
References $data, $res, getActiveRecords(), ilAdvancedMDFieldDefinition\getInstancesByRecordId(), getRowData(), and handleECSDefinitions().
Referenced by parse().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Parse property for table head.
Definition at line 703 of file class.ilAdvancedMDRecordGUI.php.
References getActiveRecords(), ilAdvancedMDFieldTranslations\getInstanceByRecordId(), ilAdvancedMDFieldDefinition\getInstancesByRecordId(), and handleECSDefinitions().
Referenced by parse().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAdvancedMDRecordGUI::saveSelection | ( | ) |
Save selection per object.
Definition at line 577 of file class.ilAdvancedMDRecordGUI.php.
References ILIAS\FileDelivery\http(), ILIAS\Repository\refinery(), and ilAdvancedMDRecord\saveObjRecSelection().
Here is the call graph for this function:| ilAdvancedMDRecordGUI::setAdvMdRecordObject | ( | int | $a_adv_id, |
| string | $a_adv_type, | ||
| string | $a_adv_subtype = "-" |
||
| ) |
Set object, that defines the adv md records being used.
Default is $this->object, but the context may set another object (e.g. media pool for media objects)
| int | $a_adv_id | ref id, if $in_repository is true, otherwise object id |
Definition at line 125 of file class.ilAdvancedMDRecordGUI.php.
| ilAdvancedMDRecordGUI::setInfoObject | ( | ilInfoScreenGUI | $info | ) |
get info sections
Definition at line 174 of file class.ilAdvancedMDRecordGUI.php.
References $info, and ILIAS\UI\examples\MessageBox\Info\info().
Referenced by ilObjCategoryGUI\infoScreen(), and ilObjCourseGUI\infoScreen().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAdvancedMDRecordGUI::setPropertyForm | ( | ilPropertyFormGUI | $form | ) |
Definition at line 157 of file class.ilAdvancedMDRecordGUI.php.
References $form, and ILIAS\Repository\form().
Here is the call graph for this function:| ilAdvancedMDRecordGUI::setRecordFilter | ( | ?array | $filter = null | ) |
Set advanced record filter.
| ?int[] | $filter |
Definition at line 183 of file class.ilAdvancedMDRecordGUI.php.
| ilAdvancedMDRecordGUI::setRefId | ( | int | $a_ref_id | ) |
Set ref_id for context.
In case of object creations this is the reference id of the parent container.
Definition at line 152 of file class.ilAdvancedMDRecordGUI.php.
| ilAdvancedMDRecordGUI::setRowData | ( | array | $a_val | ) |
Set row data.
| array | $a_val | assoc array of row data (containing md record data) |
Definition at line 608 of file class.ilAdvancedMDRecordGUI.php.
| ilAdvancedMDRecordGUI::setSearchFormValues | ( | array | $a_values | ) |
Definition at line 423 of file class.ilAdvancedMDRecordGUI.php.
| ilAdvancedMDRecordGUI::setSearchValues | ( | array | $a_values | ) |
Set values for search form.
Definition at line 165 of file class.ilAdvancedMDRecordGUI.php.
| ilAdvancedMDRecordGUI::setTableGUI | ( | ilTable2GUI | $a_val | ) |
Set table for self::MODE_TABLE_FILTER.
Definition at line 594 of file class.ilAdvancedMDRecordGUI.php.
| ilAdvancedMDRecordGUI::writeEditForm | ( | ?int | $a_obj_id = null, |
| ?int | $a_sub_id = null |
||
| ) |
Write edit form values to db.
Definition at line 314 of file class.ilAdvancedMDRecordGUI.php.
|
private |
Definition at line 53 of file class.ilAdvancedMDRecordGUI.php.
|
protected |
Definition at line 69 of file class.ilAdvancedMDRecordGUI.php.
Referenced by getActiveRecords(), and getAdvMdRecordObject().
|
protected |
Definition at line 71 of file class.ilAdvancedMDRecordGUI.php.
Referenced by getActiveRecords(), and getAdvMdRecordObject().
|
protected |
Definition at line 70 of file class.ilAdvancedMDRecordGUI.php.
Referenced by getActiveRecords(), and getAdvMdRecordObject().
|
protected |
Definition at line 59 of file class.ilAdvancedMDRecordGUI.php.
|
protected |
Definition at line 54 of file class.ilAdvancedMDRecordGUI.php.
Referenced by setPropertyForm().
|
protected |
Definition at line 78 of file class.ilAdvancedMDRecordGUI.php.
|
protected |
Definition at line 74 of file class.ilAdvancedMDRecordGUI.php.
Referenced by __construct().
|
protected |
Definition at line 61 of file class.ilAdvancedMDRecordGUI.php.
Referenced by setInfoObject().
|
protected |
Definition at line 77 of file class.ilAdvancedMDRecordGUI.php.
|
private |
Definition at line 43 of file class.ilAdvancedMDRecordGUI.php.
|
private |
Definition at line 47 of file class.ilAdvancedMDRecordGUI.php.
Referenced by getAdvMdRecordObject().
|
private |
Definition at line 44 of file class.ilAdvancedMDRecordGUI.php.
Referenced by getAdvMdRecordObject().
|
protected |
Definition at line 85 of file class.ilAdvancedMDRecordGUI.php.
|
private |
Definition at line 48 of file class.ilAdvancedMDRecordGUI.php.
Referenced by getAdvMdRecordObject().
|
protected |
Definition at line 79 of file class.ilAdvancedMDRecordGUI.php.
|
private |
Definition at line 52 of file class.ilAdvancedMDRecordGUI.php.
Referenced by getRowData().
|
protected |
Definition at line 56 of file class.ilAdvancedMDRecordGUI.php.
|
protected |
Definition at line 57 of file class.ilAdvancedMDRecordGUI.php.
|
protected |
Definition at line 55 of file class.ilAdvancedMDRecordGUI.php.
|
private |
Definition at line 46 of file class.ilAdvancedMDRecordGUI.php.
|
private |
Definition at line 45 of file class.ilAdvancedMDRecordGUI.php.
Referenced by getAdvMdRecordObject().
|
private |
Definition at line 51 of file class.ilAdvancedMDRecordGUI.php.
Referenced by getTableGUI().
|
protected |
Definition at line 76 of file class.ilAdvancedMDRecordGUI.php.
| const ilAdvancedMDRecordGUI::MODE_APP_PRESENTATION = 8 |
Definition at line 35 of file class.ilAdvancedMDRecordGUI.php.
Referenced by parse().
| const ilAdvancedMDRecordGUI::MODE_EDITOR = 1 |
Definition at line 32 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilObjOrgUnitGUI\editAdvancedSettings(), ilObjStudyProgrammeGUI\editAdvancedSettings(), ilObjOrgUnitGUI\executeCommand(), ilObjStudyProgrammeGUI\executeCommand(), ilGlossaryTermGUI\getEditTermForm(), ilPCAMDFormGUI\getPortfolioForm(), ilWikiPageGUI\initAdvancedMetaDataForm(), ilObjectMetaDataGUI\initEditForm(), ilRemoteObjectBaseGUI\initEditForm(), ilObjCategoryGUI\initExtendedSettings(), ilObjSessionGUI\initForm(), ilObjCourseGUI\initInfoEditor(), parse(), ilObjOrgUnitGUI\updateAdvancedSettings(), ilObjStudyProgrammeGUI\updateAdvancedSettings(), and ilRemoteObjectBaseGUI\updateObject().
| const ilAdvancedMDRecordGUI::MODE_FILTER = 5 |
Definition at line 39 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilPresentationListTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), ilBookingObjectsTableGUI\getItems(), ilBookingReservationsTableGUI\getItems(), and parse().
| const ilAdvancedMDRecordGUI::MODE_INFO = 3 |
Definition at line 34 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilObjIndividualAssessmentGUI\buildInfoScreen(), ilObjOrgUnitGUI\executeCommand(), ilObjStudyProgrammeGUI\fillInfoScreen(), ilObjCategoryGUI\infoScreen(), ilObjCourseGUI\infoScreen(), ilObjGroupGUI\infoScreen(), ilRemoteObjectBaseGUI\infoScreen(), and parse().
| const ilAdvancedMDRecordGUI::MODE_REC_SELECTION = 4 |
Definition at line 38 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilObjTalkTemplateGUI\initMetaDataForm(), and parse().
| const ilAdvancedMDRecordGUI::MODE_SEARCH = 2 |
Definition at line 33 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilAdvancedSearchGUI\initAdvancedMetaDataForm(), ilPCAMDPageListGUI\initForm(), and parse().
| const ilAdvancedMDRecordGUI::MODE_TABLE_CELLS = 7 |
Definition at line 41 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilMediaPoolTableGUI\fillRow(), and parse().
| const ilAdvancedMDRecordGUI::MODE_TABLE_HEAD = 6 |
Definition at line 40 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilMediaPoolTableGUI\__construct(), and parse().
| const ilAdvancedMDRecordGUI::MODE_UNDEFINED = 0 |
Definition at line 31 of file class.ilAdvancedMDRecordGUI.php.