|
ILIAS
release_4-4 Revision
|
Collaboration diagram for ilAdvancedMDRecordGUI:Public Member Functions | |
| __construct ($a_mode, $a_obj_type='', $a_obj_id='', $a_sub_type='', $a_sub_id='') | |
| Constructor. More... | |
| setPropertyForm ($form) | |
| set property form object More... | |
| setSearchValues ($a_values) | |
| Set values for search form. More... | |
| setInfoObject ($info) | |
| get info sections More... | |
| setSelectedOnly ($a_val) | |
| Set selected only flag. More... | |
| getSelectedOnly () | |
| Get selected only flag. More... | |
| parse () | |
| Get HTML. More... | |
| loadFromPost () | |
| Load values from post. More... | |
| saveValues () | |
| Save values. More... | |
| 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... | |
Data Fields | |
| const | MODE_EDITOR = 1 |
| const | MODE_SEARCH = 2 |
| const | MODE_INFO = 3 |
| const | MODE_REC_SELECTION = 4 |
| const | MODE_FILTER = 5 |
| const | MODE_TABLE_HEAD = 6 |
| const | MODE_TABLE_CELLS = 7 |
Protected Member Functions | |
| loadECSDurationPost () | |
| load ecs duration post More... | |
| parseDuration ($u_start, $u_end) | |
| parse hours and minutes from duration More... | |
Protected Attributes | |
| $lng | |
Private Member Functions | |
| parseEditor () | |
| Parse property form in editor mode. More... | |
| parseSearch () | |
| Parse search. More... | |
| parseInfoPage () | |
| toUnixTime ($date, $time=array()) | |
| convert input array to unix time 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 | |
| $form | |
| $values = array() | |
| $search_values = array() | |
Definition at line 14 of file class.ilAdvancedMDRecordGUI.php.
| ilAdvancedMDRecordGUI::__construct | ( | $a_mode, | |
$a_obj_type = '', |
|||
$a_obj_id = '', |
|||
$a_sub_type = '', |
|||
$a_sub_id = '' |
|||
| ) |
Constructor.
public
| int | mode either MODE_EDITOR or MODE_SEARCH |
| int | obj_type |
Definition at line 43 of file class.ilAdvancedMDRecordGUI.php.
References $lng.
| ilAdvancedMDRecordGUI::getRowData | ( | ) |
Get row data.
Definition at line 781 of file class.ilAdvancedMDRecordGUI.php.
Referenced by parseTableCells().
Here is the caller graph for this function:| ilAdvancedMDRecordGUI::getSelectedOnly | ( | ) |
Get selected only flag.
Definition at line 106 of file class.ilAdvancedMDRecordGUI.php.
Referenced by parseEditor(), parseFilter(), parseTableCells(), and parseTableHead().
Here is the caller graph for this function:| ilAdvancedMDRecordGUI::getTableGUI | ( | ) |
Get table.
Definition at line 761 of file class.ilAdvancedMDRecordGUI.php.
|
private |
handle ecs definitions
private
| object | ilAdvMDFieldDefinition |
Definition at line 549 of file class.ilAdvancedMDRecordGUI.php.
References ilECSServerSettings\getInstance().
Referenced by parseEditor(), parseFilter(), parseTableCells(), and parseTableHead().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
load ecs duration post
protected
Definition at line 225 of file class.ilAdvancedMDRecordGUI.php.
References $_POST, ilAdvancedMDValue\_getInstance(), ilECSDataMappingSettings\_getInstance(), ilECSServerSettings\getInstance(), ilECSDataMappingSetting\MAPPING_IMPORT_RCRS, and toUnixTime().
Referenced by loadFromPost().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAdvancedMDRecordGUI::loadFromPost | ( | ) |
Load values from post.
public
Definition at line 154 of file class.ilAdvancedMDRecordGUI.php.
References $_POST, ilAdvancedMDValue\_getInstance(), ilAdvancedMDFieldDefinition\_getInstanceByFieldId(), IL_CAL_FKT_GETDATE, IL_CAL_UNIX, loadECSDurationPost(), ilUtil\stripSlashes(), ilAdvancedMDFieldDefinition\TYPE_DATE, and ilAdvancedMDFieldDefinition\TYPE_DATETIME.
Referenced by ilObjCategoryGUI\updateInfoObject(), ilObjCourseGUI\updateInfoObject(), ilRemoteObjectBaseGUI\updateObject(), and ilGlossaryTermGUI\updateTerm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAdvancedMDRecordGUI::parse | ( | ) |
Get HTML.
public
Definition at line 118 of file class.ilAdvancedMDRecordGUI.php.
References parseEditor(), parseFilter(), parseInfoPage(), parseRecordSelection(), parseSearch(), parseTableCells(), and parseTableHead().
Here is the call graph for this function:
|
protected |
parse hours and minutes from duration
protected
Definition at line 683 of file class.ilAdvancedMDRecordGUI.php.
Referenced by showECSStart().
Here is the caller graph for this function:
|
private |
Parse property form in editor mode.
private
Definition at line 280 of file class.ilAdvancedMDRecordGUI.php.
References $ilUser, $section, $sub_type, ilAdvancedMDRecord\_getActivatedRecordsByObjectType(), ilAdvancedMDFieldDefinition\_getDefinitionsByRecordId(), ilAdvancedMDValue\_getInstance(), ilAdvancedMDRecord\_getSelectedRecordsByObject(), getSelectedOnly(), handleECSDefinitions(), IL_CAL_UNIX, ilAdvancedMDFieldDefinition\TYPE_DATE, ilAdvancedMDFieldDefinition\TYPE_DATETIME, ilAdvancedMDFieldDefinition\TYPE_SELECT, and ilAdvancedMDFieldDefinition\TYPE_TEXT.
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)
private
Definition at line 792 of file class.ilAdvancedMDRecordGUI.php.
References $ilUser, ilAdvancedMDRecord\_getActivatedRecordsByObjectType(), ilAdvancedMDFieldDefinition\_getDefinitionsByRecordId(), ilAdvancedMDRecord\_getSelectedRecordsByObject(), ilCombinationInputGUI\addCombinationItem(), ilCombinationInputGUI\COMPARISON_ASCENDING, getSelectedOnly(), handleECSDefinitions(), ilDateTimeInputGUI\MODE_INPUT, ilSelectInputGUI\setOptions(), ilTextInputGUI\setSize(), ilAdvancedMDFieldDefinition\TYPE_DATE, ilAdvancedMDFieldDefinition\TYPE_DATETIME, ilAdvancedMDFieldDefinition\TYPE_SELECT, and ilAdvancedMDFieldDefinition\TYPE_TEXT.
Referenced by parse().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 483 of file class.ilAdvancedMDRecordGUI.php.
References ilAdvancedMDRecord\_getActivatedRecordsByObjectType(), ilAdvancedMDFieldDefinition\_getDefinitionsByRecordId(), ilAdvancedMDValue\_getInstance(), ilDatePresentation\formatDate(), IL_CAL_UNIX, ilAdvancedMDFieldDefinition\TYPE_DATE, ilAdvancedMDFieldDefinition\TYPE_DATETIME, ilAdvancedMDFieldDefinition\TYPE_SELECT, and ilAdvancedMDFieldDefinition\TYPE_TEXT.
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.
private
Definition at line 701 of file class.ilAdvancedMDRecordGUI.php.
References $ilUser, $section, ilAdvancedMDRecord\_getActivatedRecordsByObjectType(), ilAdvancedMDRecord\getObjRecSelection(), and ilFormPropertyGUI\setInfo().
Referenced by parse().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Parse search.
private
Definition at line 375 of file class.ilAdvancedMDRecordGUI.php.
References $options, $section, ilAdvancedMDRecord\_getActiveSearchableRecords(), ilAdvancedMDFieldDefinition\_getDefinitionsByRecordId(), IL_CAL_UNIX, ilTextInputGUI\setValue(), ilCheckboxInputGUI\setValue(), ilSelectInputGUI\setValue(), ilRadioOption\setValue(), ilAdvancedMDFieldDefinition\TYPE_DATE, ilAdvancedMDFieldDefinition\TYPE_DATETIME, ilAdvancedMDFieldDefinition\TYPE_SELECT, and ilAdvancedMDFieldDefinition\TYPE_TEXT.
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 908 of file class.ilAdvancedMDRecordGUI.php.
References $data, $ilUser, ilAdvancedMDRecord\_getActivatedRecordsByObjectType(), ilAdvancedMDFieldDefinition\_getDefinitionsByRecordId(), ilAdvancedMDRecord\_getSelectedRecordsByObject(), getRowData(), getSelectedOnly(), 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 877 of file class.ilAdvancedMDRecordGUI.php.
References $ilUser, ilAdvancedMDRecord\_getActivatedRecordsByObjectType(), ilAdvancedMDFieldDefinition\_getDefinitionsByRecordId(), ilAdvancedMDRecord\_getSelectedRecordsByObject(), getSelectedOnly(), 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 739 of file class.ilAdvancedMDRecordGUI.php.
References $_POST, ilAdvancedMDRecord\saveObjRecSelection(), and ilUtil\stripSlashesArray().
Referenced by ilObjGlossaryGUI\saveProperties().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAdvancedMDRecordGUI::saveValues | ( | ) |
| ilAdvancedMDRecordGUI::setInfoObject | ( | $info | ) |
get info sections
public
| object | instance of ilInfoScreenGUI |
Definition at line 86 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilRemoteObjectBaseGUI\infoScreen(), ilObjCourseGUI\infoScreen(), and ilObjCategoryGUI\infoScreen().
Here is the caller graph for this function:| ilAdvancedMDRecordGUI::setPropertyForm | ( | $form | ) |
set property form object
public
Definition at line 62 of file class.ilAdvancedMDRecordGUI.php.
References $form.
Referenced by ilGlossaryTermGUI\getEditTermForm(), ilRemoteObjectBaseGUI\initEditForm(), ilObjCategoryGUI\initExtendedSettings(), ilObjCourseGUI\initInfoEditor(), and ilObjGlossaryGUI\initSettingsForm().
Here is the caller graph for this function:| ilAdvancedMDRecordGUI::setRowData | ( | $a_val | ) |
Set row data.
| array | $a_val | assoc array of row data (containing md record data) |
Definition at line 771 of file class.ilAdvancedMDRecordGUI.php.
| ilAdvancedMDRecordGUI::setSearchValues | ( | $a_values | ) |
| ilAdvancedMDRecordGUI::setSelectedOnly | ( | $a_val | ) |
Set selected only flag.
| boolean | $a_val | retrieve only records, that are selected by the object |
Definition at line 96 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilPresentationListTableGUI\initFilter().
Here is the caller graph for this function:| ilAdvancedMDRecordGUI::setTableGUI | ( | $a_val | ) |
Set table.
| object | $a_val | table gui class |
Definition at line 751 of file class.ilAdvancedMDRecordGUI.php.
|
private |
Show special form for ecs start.
private
| object | ilAdvMDFieldDefinition |
Definition at line 590 of file class.ilAdvancedMDRecordGUI.php.
References $ilUser, ilAdvancedMDValue\_getInstance(), ilECSDataMappingSettings\_getInstance(), IL_CAL_UNIX, parseDuration(), ilDurationInputGUI\setHours(), ilAdvancedMDFieldDefinition\TYPE_SELECT, and ilAdvancedMDFieldDefinition\TYPE_TEXT.
Here is the call graph for this function:
|
private |
convert input array to unix time
private
Definition at line 537 of file class.ilAdvancedMDRecordGUI.php.
Referenced by loadECSDurationPost().
Here is the caller graph for this function:
|
private |
Definition at line 31 of file class.ilAdvancedMDRecordGUI.php.
Referenced by setPropertyForm().
|
protected |
Definition at line 24 of file class.ilAdvancedMDRecordGUI.php.
Referenced by __construct().
|
private |
Definition at line 26 of file class.ilAdvancedMDRecordGUI.php.
|
private |
Definition at line 29 of file class.ilAdvancedMDRecordGUI.php.
|
private |
Definition at line 27 of file class.ilAdvancedMDRecordGUI.php.
|
private |
Definition at line 33 of file class.ilAdvancedMDRecordGUI.php.
|
private |
Definition at line 28 of file class.ilAdvancedMDRecordGUI.php.
Referenced by parseEditor().
|
private |
Definition at line 32 of file class.ilAdvancedMDRecordGUI.php.
| const ilAdvancedMDRecordGUI::MODE_EDITOR = 1 |
Definition at line 16 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilGlossaryTermGUI\getEditTermForm(), ilRemoteObjectBaseGUI\initEditForm(), ilObjCategoryGUI\initExtendedSettings(), ilObjCourseGUI\initInfoEditor(), ilObjCategoryGUI\updateInfoObject(), ilObjCourseGUI\updateInfoObject(), ilRemoteObjectBaseGUI\updateObject(), and ilGlossaryTermGUI\updateTerm().
| const ilAdvancedMDRecordGUI::MODE_FILTER = 5 |
Definition at line 20 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilPresentationListTableGUI\initFilter().
| const ilAdvancedMDRecordGUI::MODE_INFO = 3 |
Definition at line 18 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilRemoteObjectBaseGUI\infoScreen(), ilObjCourseGUI\infoScreen(), and ilObjCategoryGUI\infoScreen().
| const ilAdvancedMDRecordGUI::MODE_REC_SELECTION = 4 |
Definition at line 19 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilObjGlossaryGUI\initSettingsForm(), and ilObjGlossaryGUI\saveProperties().
| const ilAdvancedMDRecordGUI::MODE_SEARCH = 2 |
Definition at line 17 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilAdvancedSearchGUI\initAdvancedMetaDataForm().
| const ilAdvancedMDRecordGUI::MODE_TABLE_CELLS = 7 |
Definition at line 22 of file class.ilAdvancedMDRecordGUI.php.
| const ilAdvancedMDRecordGUI::MODE_TABLE_HEAD = 6 |
Definition at line 21 of file class.ilAdvancedMDRecordGUI.php.