|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Collaboration diagram for ilAdvancedMDRecordGUI:Public Member Functions | |
| __construct ($a_mode, $a_obj_type='', $a_obj_id='', $a_sub_type='', $a_sub_id='') | |
| Constructor. More... | |
| setAdvMdRecordObject ($a_adv_ref_id, $a_adv_type, $a_adv_subtype="-") | |
| Set object, that defines the adv md records being used. More... | |
| getAdvMdRecordObject () | |
| Get adv md record type. More... | |
| setRefId ($a_ref_id) | |
| Set ref_id for context. More... | |
| setPropertyForm ($form) | |
| set property form object More... | |
| setSearchValues ($a_values) | |
| Set values for search form. More... | |
| setInfoObject ($info) | |
| get info sections More... | |
| parse () | |
| Get HTML. More... | |
| importEditFormPostValues () | |
| Load edit form values from post. More... | |
| writeEditForm ($a_obj_id=null, $a_sub_id=null) | |
| Write edit form values to db. More... | |
| importSearchForm () | |
| Load edit form values from post. More... | |
| setSearchFormValues (array $a_values) | |
| parseRecordSelection ($a_sec_head="") | |
| Parse property form in editor mode. More... | |
| saveSelection () | |
| Save selection per object. More... | |
| setTableGUI ($a_val) | |
| Set table. More... | |
| getTableGUI () | |
| Get table. More... | |
| setRowData ($a_val) | |
| Set row data. More... | |
| getRowData () | |
| Get row data. More... | |
| importFilter () | |
| Import filter (post) values. More... | |
| getFilterElements ($a_only_non_empty=true) | |
| Get SQL conditions for current filter value(s) More... | |
Data Fields | |
| 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 | |
| parseEditor () | |
| Parse property form in editor mode. More... | |
| parseDuration ($u_start, $u_end) | |
| parse hours and minutes from duration More... | |
| getActiveRecords () | |
Protected Attributes | |
| $lng | |
| $editor_form | |
| $adv_ref_id = null | |
| $adv_type = null | |
| $adv_subtype = null | |
| $user | |
Private Member Functions | |
| parseSearch () | |
| Parse search. More... | |
| parseInfoPage () | |
| Presentation for info page. More... | |
| parseAppointmentPresentation () | |
| Presentation for calendar agenda list. More... | |
| handleECSDefinitions ($a_definition) | |
| handle ecs definitions More... | |
| showECSStart ($def) | |
| Show special form for ecs start. More... | |
| parseFilter () | |
| Parse property for filter (table) More... | |
| parseTableHead () | |
| Parse property for table head. More... | |
| parseTableCells () | |
| Parse table cells. More... | |
Private Attributes | |
| $mode | |
| $obj_type | |
| $sub_type | |
| $obj_id | |
| $ref_id = null | |
| $form | |
| $search_values = array() | |
| ilAdvancedMDRecordGUI::__construct | ( | $a_mode, | |
$a_obj_type = '', |
|||
$a_obj_id = '', |
|||
$a_sub_type = '', |
|||
$a_sub_id = '' |
|||
| ) |
Constructor.
@access public
| int | mode either MODE_EDITOR or MODE_SEARCH |
| int | obj_type |
Definition at line 70 of file class.ilAdvancedMDRecordGUI.php.
References $DIC, $lng, ilObject\_getAllReferences(), and user().
Here is the call graph for this function:
|
protected |
Definition at line 715 of file class.ilAdvancedMDRecordGUI.php.
References $adv_ref_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 type.
Definition at line 108 of file class.ilAdvancedMDRecordGUI.php.
References $adv_ref_id, $adv_subtype, $adv_type, $obj_type, $ref_id, and $sub_type.
Referenced by getActiveRecords().
Here is the caller graph for this function:| ilAdvancedMDRecordGUI::getFilterElements | ( | $a_only_non_empty = true | ) |
Get SQL conditions for current filter value(s)
Definition at line 777 of file class.ilAdvancedMDRecordGUI.php.
References $res.
Referenced by ilTable2GUI\isAdvMDFilter().
Here is the caller graph for this function:| ilAdvancedMDRecordGUI::getRowData | ( | ) |
Get row data.
Definition at line 710 of file class.ilAdvancedMDRecordGUI.php.
Referenced by parseTableCells().
Here is the caller graph for this function:| ilAdvancedMDRecordGUI::getTableGUI | ( | ) |
Get table.
Definition at line 690 of file class.ilAdvancedMDRecordGUI.php.
|
private |
handle ecs definitions
@access private
| object | ilAdvMDFieldDefinition |
Definition at line 498 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 260 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 761 of file class.ilAdvancedMDRecordGUI.php.
| ilAdvancedMDRecordGUI::importSearchForm | ( | ) |
Load edit form values from post.
Definition at line 373 of file class.ilAdvancedMDRecordGUI.php.
| ilAdvancedMDRecordGUI::parse | ( | ) |
Get HTML.
@access public
Definition at line 170 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, parseAppointmentPresentation(), parseEditor(), parseFilter(), parseInfoPage(), parseRecordSelection(), parseSearch(), parseTableCells(), and parseTableHead().
Here is the call graph for this function:
|
private |
Presentation for calendar agenda list.
Definition at line 439 of file class.ilAdvancedMDRecordGUI.php.
References ilAdvancedMDSubstitution\_getInstanceByObjectType(), ilADTFactory\getInstance(), ilAdvancedMDFieldTranslations\getInstanceByRecordId(), ilAdvancedMDFieldDefinition\getInstancesByObjType(), ilAdvancedMDValues\getInstancesForObjectId(), and user().
Referenced by parse().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
parse hours and minutes from duration
@access protected
return
Definition at line 609 of file class.ilAdvancedMDRecordGUI.php.
Referenced by showECSStart().
Here is the caller graph for this function:
|
protected |
Parse property form in editor mode.
Definition at line 210 of file class.ilAdvancedMDRecordGUI.php.
References 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)
@access private
Definition at line 728 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 407 of file class.ilAdvancedMDRecordGUI.php.
References ilADTFactory\getInstance(), ilAdvancedMDFieldTranslations\getInstanceByRecordId(), ilAdvancedMDRecordTranslations\getInstanceByRecordId(), ilAdvancedMDValues\getInstancesForObjectId(), info(), and user().
Referenced by parse().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAdvancedMDRecordGUI::parseRecordSelection | ( | $a_sec_head = "" | ) |
Parse property form in editor mode.
@access private
Definition at line 631 of file class.ilAdvancedMDRecordGUI.php.
References $DIC, $ilUser, $section, ilAdvancedMDRecord\_getActivatedRecordsByObjectType(), and ilAdvancedMDRecord\getObjRecSelection().
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 320 of file class.ilAdvancedMDRecordGUI.php.
References $section, getActiveRecords(), ilADTFactory\getInstance(), ilAdvancedMDFieldTranslations\getInstanceByRecordId(), ilAdvancedMDRecordTranslations\getInstanceByRecordId(), and ilAdvancedMDFieldDefinition\getInstancesByRecordId().
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 827 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 802 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.
return
Definition at line 668 of file class.ilAdvancedMDRecordGUI.php.
References $_POST, ilAdvancedMDRecord\saveObjRecSelection(), and ilUtil\stripSlashesArray().
Here is the call graph for this function:| ilAdvancedMDRecordGUI::setAdvMdRecordObject | ( | $a_adv_ref_id, | |
| $a_adv_type, | |||
$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)
| string | $a_val | adv type |
Definition at line 96 of file class.ilAdvancedMDRecordGUI.php.
| ilAdvancedMDRecordGUI::setInfoObject | ( | $info | ) |
get info sections
@access public
| object | instance of ilInfoScreenGUI |
Definition at line 158 of file class.ilAdvancedMDRecordGUI.php.
References info().
Here is the call graph for this function:| ilAdvancedMDRecordGUI::setPropertyForm | ( | $form | ) |
set property form object
@access public
Definition at line 134 of file class.ilAdvancedMDRecordGUI.php.
References $form.
| ilAdvancedMDRecordGUI::setRefId | ( | $a_ref_id | ) |
Set ref_id for context.
In case of object creations this is the reference id of the parent container.
| int | ref_id |
Definition at line 122 of file class.ilAdvancedMDRecordGUI.php.
| ilAdvancedMDRecordGUI::setRowData | ( | $a_val | ) |
Set row data.
| array | $a_val | assoc array of row data (containing md record data) |
Definition at line 700 of file class.ilAdvancedMDRecordGUI.php.
| ilAdvancedMDRecordGUI::setSearchFormValues | ( | array | $a_values | ) |
Definition at line 398 of file class.ilAdvancedMDRecordGUI.php.
| ilAdvancedMDRecordGUI::setSearchValues | ( | $a_values | ) |
Set values for search form.
@access public
Definition at line 145 of file class.ilAdvancedMDRecordGUI.php.
| ilAdvancedMDRecordGUI::setTableGUI | ( | $a_val | ) |
Set table.
| object | $a_val | table gui class |
Definition at line 680 of file class.ilAdvancedMDRecordGUI.php.
|
private |
Show special form for ecs start.
@access private
| object | ilAdvMDFieldDefinition |
Definition at line 517 of file class.ilAdvancedMDRecordGUI.php.
References $DIC, $ilUser, ilECSDataMappingSettings\_getInstance(), ilAdvancedMDFieldDefinition\getInstance(), IL_CAL_UNIX, parseDuration(), ilAdvancedMDFieldDefinition\TYPE_SELECT, and ilAdvancedMDFieldDefinition\TYPE_TEXT.
Here is the call graph for this function:| ilAdvancedMDRecordGUI::writeEditForm | ( | $a_obj_id = null, |
|
$a_sub_id = null |
|||
| ) |
Write edit form values to db.
| int | $a_obj_id | |
| int | $a_sub_id |
Definition at line 286 of file class.ilAdvancedMDRecordGUI.php.
|
protected |
Definition at line 46 of file class.ilAdvancedMDRecordGUI.php.
Referenced by getActiveRecords(), and getAdvMdRecordObject().
|
protected |
Definition at line 54 of file class.ilAdvancedMDRecordGUI.php.
Referenced by getActiveRecords(), and getAdvMdRecordObject().
|
protected |
Definition at line 50 of file class.ilAdvancedMDRecordGUI.php.
Referenced by getActiveRecords(), and getAdvMdRecordObject().
|
protected |
Definition at line 38 of file class.ilAdvancedMDRecordGUI.php.
|
private |
Definition at line 35 of file class.ilAdvancedMDRecordGUI.php.
Referenced by setPropertyForm().
|
protected |
Definition at line 27 of file class.ilAdvancedMDRecordGUI.php.
Referenced by __construct().
|
private |
Definition at line 29 of file class.ilAdvancedMDRecordGUI.php.
|
private |
Definition at line 32 of file class.ilAdvancedMDRecordGUI.php.
|
private |
Definition at line 30 of file class.ilAdvancedMDRecordGUI.php.
Referenced by getAdvMdRecordObject().
|
private |
Definition at line 33 of file class.ilAdvancedMDRecordGUI.php.
Referenced by getAdvMdRecordObject().
|
private |
Definition at line 36 of file class.ilAdvancedMDRecordGUI.php.
|
private |
Definition at line 31 of file class.ilAdvancedMDRecordGUI.php.
Referenced by getAdvMdRecordObject().
|
protected |
Definition at line 59 of file class.ilAdvancedMDRecordGUI.php.
| const ilAdvancedMDRecordGUI::MODE_APP_PRESENTATION = 8 |
Definition at line 19 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilAppointmentPresentationGUI\addMetaData(), and parse().
| const ilAdvancedMDRecordGUI::MODE_EDITOR = 1 |
Definition at line 16 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilObjOrgUnitGUI\editAdvancedSettings(), ilObjStudyProgrammeGUI\editAdvancedSettings(), ilObjOrgUnitGUI\executeCommand(), ilObjStudyProgrammeGUI\executeCommand(), ilGlossaryTermGUI\getEditTermForm(), ilWikiPageGUI\initAdvancedMetaDataForm(), ilObjectMetaDataGUI\initEditForm(), ilRemoteObjectBaseGUI\initEditForm(), ilObjCategoryGUI\initExtendedSettings(), ilBookingObjectGUI\initForm(), ilObjSessionGUI\initForm(), ilObjCourseGUI\initInfoEditor(), parse(), ilObjOrgUnitGUI\updateAdvancedSettings(), ilObjStudyProgrammeGUI\updateAdvancedSettings(), and ilRemoteObjectBaseGUI\updateObject().
| const ilAdvancedMDRecordGUI::MODE_FILTER = 5 |
Definition at line 23 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 18 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilObjIndividualAssessmentGUI\buildInfoScreen(), ilObjOrgUnitGUI\executeCommand(), ilObjStudyProgrammeGUI\fillInfoScreen(), ilObjCategoryGUI\infoScreen(), ilObjCourseGUI\infoScreen(), ilObjGroupGUI\infoScreen(), ilObjSessionGUI\infoScreen(), ilRemoteObjectBaseGUI\infoScreen(), and parse().
| const ilAdvancedMDRecordGUI::MODE_REC_SELECTION = 4 |
Definition at line 22 of file class.ilAdvancedMDRecordGUI.php.
Referenced by parse().
| const ilAdvancedMDRecordGUI::MODE_SEARCH = 2 |
Definition at line 17 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilAdvancedSearchGUI\initAdvancedMetaDataForm(), ilPCAMDPageListGUI\initForm(), and parse().
| const ilAdvancedMDRecordGUI::MODE_TABLE_CELLS = 7 |
Definition at line 25 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilMediaPoolTableGUI\fillRow(), and parse().
| const ilAdvancedMDRecordGUI::MODE_TABLE_HEAD = 6 |
Definition at line 24 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilMediaPoolTableGUI\__construct(), and parse().