ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct ($a_mode, $a_obj_type='', $a_obj_id='', $a_sub_type='', $a_sub_id='') | |
Constructor. 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 | |
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() | |
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 48 of file class.ilAdvancedMDRecordGUI.php.
References $lng, and ilObject\_getAllReferences().
|
protected |
Definition at line 651 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 715 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilTable2GUI\isAdvMDFilter().
ilAdvancedMDRecordGUI::getRowData | ( | ) |
Get row data.
Definition at line 646 of file class.ilAdvancedMDRecordGUI.php.
Referenced by parseTableCells().
ilAdvancedMDRecordGUI::getTableGUI | ( | ) |
Get table.
Definition at line 626 of file class.ilAdvancedMDRecordGUI.php.
|
private |
handle ecs definitions
private
object | ilAdvMDFieldDefinition |
Definition at line 438 of file class.ilAdvancedMDRecordGUI.php.
References ilECSServerSettings\getInstance().
Referenced by parseTableCells(), and parseTableHead().
ilAdvancedMDRecordGUI::importEditFormPostValues | ( | ) |
Load edit form values from post.
Definition at line 211 of file class.ilAdvancedMDRecordGUI.php.
References $valid.
ilAdvancedMDRecordGUI::importFilter | ( | ) |
Import filter (post) values.
Definition at line 699 of file class.ilAdvancedMDRecordGUI.php.
ilAdvancedMDRecordGUI::importSearchForm | ( | ) |
Load edit form values from post.
Definition at line 321 of file class.ilAdvancedMDRecordGUI.php.
References $res, $valid, and array.
ilAdvancedMDRecordGUI::parse | ( | ) |
Get HTML.
public
Definition at line 118 of file class.ilAdvancedMDRecordGUI.php.
References parseAppointmentPresentation(), parseEditor(), parseFilter(), parseInfoPage(), parseRecordSelection(), parseSearch(), parseTableCells(), and parseTableHead().
|
private |
Presentation for calendar agenda list.
Definition at line 383 of file class.ilAdvancedMDRecordGUI.php.
References ilAdvancedMDSubstitution\_getInstanceByObjectType(), array, ilADTFactory\getInstance(), ilAdvancedMDFieldDefinition\getInstancesByObjType(), and ilAdvancedMDValues\getInstancesForObjectId().
Referenced by parse().
|
protected |
parse hours and minutes from duration
protected
Definition at line 547 of file class.ilAdvancedMDRecordGUI.php.
References array.
Referenced by showECSStart().
|
protected |
Parse property form in editor mode.
Definition at line 158 of file class.ilAdvancedMDRecordGUI.php.
References $def, array, getActiveRecords(), and ilADTFactory\getInstance().
Referenced by parse().
|
private |
Parse property for filter (table)
private
Definition at line 663 of file class.ilAdvancedMDRecordGUI.php.
References $def, array, getActiveRecords(), ilADTFactory\getInstance(), and ilAdvancedMDFieldDefinition\getInstancesByRecordId().
Referenced by parse().
|
private |
Presentation for info page.
Definition at line 355 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 569 of file class.ilAdvancedMDRecordGUI.php.
References $ilUser, $section, ilAdvancedMDRecord\_getActivatedRecordsByObjectType(), ilAdvancedMDRecord\getObjRecSelection(), and ilFormPropertyGUI\setInfo().
Referenced by parse().
|
private |
Parse search.
Definition at line 271 of file class.ilAdvancedMDRecordGUI.php.
References $section, array, getActiveRecords(), ilADTFactory\getInstance(), and ilAdvancedMDFieldDefinition\getInstancesByRecordId().
Referenced by parse().
|
private |
Parse table cells.
Definition at line 758 of file class.ilAdvancedMDRecordGUI.php.
References $data, $def, $html, getActiveRecords(), getRowData(), and handleECSDefinitions().
Referenced by parse().
|
private |
Parse property for table head.
Definition at line 741 of file class.ilAdvancedMDRecordGUI.php.
References $def, getActiveRecords(), and handleECSDefinitions().
Referenced by parse().
ilAdvancedMDRecordGUI::saveSelection | ( | ) |
Save selection per object.
Definition at line 604 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 106 of file class.ilAdvancedMDRecordGUI.php.
References $info.
Referenced by ilObjOrgUnitGUI\executeCommand(), ilObjStudyProgrammeGUI\fillInfoScreen(), ilRemoteObjectBaseGUI\infoScreen(), ilObjCourseGUI\infoScreen(), ilObjSessionGUI\infoScreen(), and ilObjCategoryGUI\infoScreen().
ilAdvancedMDRecordGUI::setPropertyForm | ( | $form | ) |
set property form object
public
Definition at line 82 of file class.ilAdvancedMDRecordGUI.php.
References $form.
Referenced by ilObjStudyProgrammeGUI\editAdvancedSettings(), ilObjOrgUnitGUI\editAdvancedSettings(), ilGlossaryTermGUI\getEditTermForm(), ilWikiPageGUI\initAdvancedMetaDataForm(), ilRemoteObjectBaseGUI\initEditForm(), ilObjCategoryGUI\initExtendedSettings(), ilObjSessionGUI\initForm(), ilObjCourseGUI\initInfoEditor(), ilObjStudyProgrammeGUI\updateAdvancedSettings(), and ilObjOrgUnitGUI\updateAdvancedSettings().
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 70 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 636 of file class.ilAdvancedMDRecordGUI.php.
ilAdvancedMDRecordGUI::setSearchFormValues | ( | array | $a_values | ) |
Definition at line 346 of file class.ilAdvancedMDRecordGUI.php.
ilAdvancedMDRecordGUI::setSearchValues | ( | $a_values | ) |
ilAdvancedMDRecordGUI::setTableGUI | ( | $a_val | ) |
Set table.
object | $a_val | table gui class |
Definition at line 616 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilPresentationListTableGUI\__construct().
|
private |
Show special form for ecs start.
private
object | ilAdvMDFieldDefinition |
Definition at line 457 of file class.ilAdvancedMDRecordGUI.php.
References $def, $ilUser, $text, $time, ilECSDataMappingSettings\_getInstance(), date, ilAdvancedMDFieldDefinition\getInstance(), IL_CAL_UNIX, parseDuration(), ilDurationInputGUI\setHours(), ilSelectInputGUI\setOptions(), 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 237 of file class.ilAdvancedMDRecordGUI.php.
|
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.
|
private |
Definition at line 33 of file class.ilAdvancedMDRecordGUI.php.
|
private |
Definition at line 36 of file class.ilAdvancedMDRecordGUI.php.
|
private |
Definition at line 31 of file class.ilAdvancedMDRecordGUI.php.
const ilAdvancedMDRecordGUI::MODE_APP_PRESENTATION = 8 |
Definition at line 19 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilAppointmentPresentationGUI\addMetaData().
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(), ilObjSessionGUI\initForm(), ilObjCourseGUI\initInfoEditor(), ilObjStudyProgrammeGUI\updateAdvancedSettings(), ilObjOrgUnitGUI\updateAdvancedSettings(), and ilRemoteObjectBaseGUI\updateObject().
const ilAdvancedMDRecordGUI::MODE_FILTER = 5 |
Definition at line 23 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(), ilObjSessionGUI\infoScreen(), and ilObjCategoryGUI\infoScreen().
const ilAdvancedMDRecordGUI::MODE_REC_SELECTION = 4 |
Definition at line 22 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 25 of file class.ilAdvancedMDRecordGUI.php.
const ilAdvancedMDRecordGUI::MODE_TABLE_HEAD = 6 |
Definition at line 24 of file class.ilAdvancedMDRecordGUI.php.