ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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... | |
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_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 | |
Private Member Functions | |
parseSearch () | |
Parse search. More... | |
parseInfoPage () | |
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 | |
$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 46 of file class.ilAdvancedMDRecordGUI.php.
References $lng.
|
protected |
Definition at line 639 of file class.ilAdvancedMDRecordGUI.php.
References ilAdvancedMDRecord\_getSelectedRecordsByObject().
Referenced by parseEditor(), parseFilter(), parseSearch(), parseTableCells(), and parseTableHead().
ilAdvancedMDRecordGUI::getFilterElements | ( | $a_only_non_empty = true | ) |
Get SQL conditions for current filter value(s)
Definition at line 708 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilTable2GUI\isAdvMDFilter().
ilAdvancedMDRecordGUI::getRowData | ( | ) |
Get row data.
Definition at line 634 of file class.ilAdvancedMDRecordGUI.php.
Referenced by parseTableCells().
ilAdvancedMDRecordGUI::getTableGUI | ( | ) |
Get table.
Definition at line 614 of file class.ilAdvancedMDRecordGUI.php.
|
private |
handle ecs definitions
private
object | ilAdvMDFieldDefinition |
Definition at line 395 of file class.ilAdvancedMDRecordGUI.php.
References ilECSServerSettings\getInstance().
Referenced by parseTableCells(), and parseTableHead().
ilAdvancedMDRecordGUI::importEditFormPostValues | ( | ) |
Load edit form values from post.
Definition at line 196 of file class.ilAdvancedMDRecordGUI.php.
References $valid.
ilAdvancedMDRecordGUI::importFilter | ( | ) |
Import filter (post) values.
Definition at line 690 of file class.ilAdvancedMDRecordGUI.php.
ilAdvancedMDRecordGUI::importSearchForm | ( | ) |
Load edit form values from post.
Definition at line 318 of file class.ilAdvancedMDRecordGUI.php.
References $res, $valid, and array.
ilAdvancedMDRecordGUI::parse | ( | ) |
Get HTML.
public
Definition at line 101 of file class.ilAdvancedMDRecordGUI.php.
References parseEditor(), parseFilter(), parseInfoPage(), parseRecordSelection(), parseSearch(), parseTableCells(), and parseTableHead().
|
protected |
parse hours and minutes from duration
protected
Definition at line 531 of file class.ilAdvancedMDRecordGUI.php.
References array.
Referenced by showECSStart().
|
protected |
Parse property form in editor mode.
Definition at line 139 of file class.ilAdvancedMDRecordGUI.php.
References array, getActiveRecords(), and ilADTFactory\getInstance().
Referenced by parse().
|
private |
Parse property for filter (table)
private
Definition at line 651 of file class.ilAdvancedMDRecordGUI.php.
References array, getActiveRecords(), ilADTFactory\getInstance(), and ilAdvancedMDFieldDefinition\getInstancesByRecordId().
Referenced by parse().
|
private |
Definition at line 358 of file class.ilAdvancedMDRecordGUI.php.
References ilAdvancedMDRecord\_lookupTitle(), ilADTFactory\getInstance(), and ilAdvancedMDValues\getInstancesForObjectId().
Referenced by parse().
ilAdvancedMDRecordGUI::parseRecordSelection | ( | $a_sec_head = "" | ) |
Parse property form in editor mode.
private
Definition at line 554 of file class.ilAdvancedMDRecordGUI.php.
References $ilUser, $section, ilAdvancedMDRecord\_getActivatedRecordsByObjectType(), ilAdvancedMDRecord\getObjRecSelection(), and ilFormPropertyGUI\setInfo().
Referenced by parse().
|
private |
Parse search.
Definition at line 264 of file class.ilAdvancedMDRecordGUI.php.
References $section, array, getActiveRecords(), ilADTFactory\getInstance(), and ilAdvancedMDFieldDefinition\getInstancesByRecordId().
Referenced by parse().
|
private |
Parse table cells.
Definition at line 757 of file class.ilAdvancedMDRecordGUI.php.
References $data, $html, getActiveRecords(), getRowData(), and handleECSDefinitions().
Referenced by parse().
|
private |
Parse property for table head.
Definition at line 737 of file class.ilAdvancedMDRecordGUI.php.
References getActiveRecords(), and handleECSDefinitions().
Referenced by parse().
ilAdvancedMDRecordGUI::saveSelection | ( | ) |
Save selection per object.
Definition at line 592 of file class.ilAdvancedMDRecordGUI.php.
References $_POST, ilAdvancedMDRecord\saveObjRecSelection(), and ilUtil\stripSlashesArray().
ilAdvancedMDRecordGUI::setInfoObject | ( | $info | ) |
get info sections
public
object | instance of ilInfoScreenGUI |
Definition at line 89 of file class.ilAdvancedMDRecordGUI.php.
References $info.
Referenced by ilObjOrgUnitGUI\executeCommand(), ilObjStudyProgrammeGUI\fillInfoScreen(), ilRemoteObjectBaseGUI\infoScreen(), ilObjCourseGUI\infoScreen(), and ilObjCategoryGUI\infoScreen().
ilAdvancedMDRecordGUI::setPropertyForm | ( | $form | ) |
set property form object
public
Definition at line 65 of file class.ilAdvancedMDRecordGUI.php.
References $form.
Referenced by ilObjStudyProgrammeGUI\editAdvancedSettings(), ilObjOrgUnitGUI\editAdvancedSettings(), ilGlossaryTermGUI\getEditTermForm(), ilWikiPageGUI\initAdvancedMetaDataForm(), ilRemoteObjectBaseGUI\initEditForm(), ilObjCategoryGUI\initExtendedSettings(), ilObjCourseGUI\initInfoEditor(), ilObjStudyProgrammeGUI\updateAdvancedSettings(), and ilObjOrgUnitGUI\updateAdvancedSettings().
ilAdvancedMDRecordGUI::setRowData | ( | $a_val | ) |
Set row data.
array | $a_val | assoc array of row data (containing md record data) |
Definition at line 624 of file class.ilAdvancedMDRecordGUI.php.
ilAdvancedMDRecordGUI::setSearchFormValues | ( | array | $a_values | ) |
Definition at line 348 of file class.ilAdvancedMDRecordGUI.php.
ilAdvancedMDRecordGUI::setSearchValues | ( | $a_values | ) |
ilAdvancedMDRecordGUI::setTableGUI | ( | $a_val | ) |
Set table.
object | $a_val | table gui class |
Definition at line 604 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilPresentationListTableGUI\__construct().
|
private |
Show special form for ecs start.
private
object | ilAdvMDFieldDefinition |
Definition at line 436 of file class.ilAdvancedMDRecordGUI.php.
References $duration, $ilUser, $text, ilECSDataMappingSettings\_getInstance(), date, ilAdvancedMDFieldDefinition\getInstance(), IL_CAL_UNIX, parseDuration(), ilDurationInputGUI\setHours(), ilAdvancedMDFieldDefinition\TYPE_SELECT, and ilAdvancedMDFieldDefinition\TYPE_TEXT.
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 225 of file class.ilAdvancedMDRecordGUI.php.
|
protected |
Definition at line 36 of file class.ilAdvancedMDRecordGUI.php.
|
private |
Definition at line 33 of file class.ilAdvancedMDRecordGUI.php.
Referenced by setPropertyForm().
|
protected |
Definition at line 26 of file class.ilAdvancedMDRecordGUI.php.
Referenced by __construct().
|
private |
Definition at line 28 of file class.ilAdvancedMDRecordGUI.php.
|
private |
Definition at line 31 of file class.ilAdvancedMDRecordGUI.php.
|
private |
Definition at line 29 of file class.ilAdvancedMDRecordGUI.php.
|
private |
Definition at line 34 of file class.ilAdvancedMDRecordGUI.php.
|
private |
Definition at line 30 of file class.ilAdvancedMDRecordGUI.php.
const ilAdvancedMDRecordGUI::MODE_EDITOR = 1 |
Definition at line 16 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilObjStudyProgrammeGUI\editAdvancedSettings(), ilObjOrgUnitGUI\editAdvancedSettings(), ilGlossaryTermGUI\getEditTermForm(), ilWikiPageGUI\initAdvancedMetaDataForm(), ilRemoteObjectBaseGUI\initEditForm(), ilObjectMetaDataGUI\initEditForm(), ilObjCategoryGUI\initExtendedSettings(), ilBookingObjectGUI\initForm(), ilObjCourseGUI\initInfoEditor(), ilObjStudyProgrammeGUI\updateAdvancedSettings(), ilObjOrgUnitGUI\updateAdvancedSettings(), and ilRemoteObjectBaseGUI\updateObject().
const ilAdvancedMDRecordGUI::MODE_FILTER = 5 |
Definition at line 22 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilPresentationListTableGUI\__construct(), ilBookingObjectsTableGUI\getItems(), and ilBookingReservationsTableGUI\getItems().
const ilAdvancedMDRecordGUI::MODE_INFO = 3 |
Definition at line 18 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilObjOrgUnitGUI\executeCommand(), ilObjStudyProgrammeGUI\fillInfoScreen(), ilRemoteObjectBaseGUI\infoScreen(), ilObjCourseGUI\infoScreen(), and ilObjCategoryGUI\infoScreen().
const ilAdvancedMDRecordGUI::MODE_REC_SELECTION = 4 |
Definition at line 21 of file class.ilAdvancedMDRecordGUI.php.
const ilAdvancedMDRecordGUI::MODE_SEARCH = 2 |
Definition at line 17 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilAdvancedSearchGUI\initAdvancedMetaDataForm(), and ilPCAMDPageListGUI\initForm().
const ilAdvancedMDRecordGUI::MODE_TABLE_CELLS = 7 |
Definition at line 24 of file class.ilAdvancedMDRecordGUI.php.
const ilAdvancedMDRecordGUI::MODE_TABLE_HEAD = 6 |
Definition at line 23 of file class.ilAdvancedMDRecordGUI.php.