ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 | |
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 65 of file class.ilAdvancedMDRecordGUI.php.
References $DIC, $lng, and ilObject\_getAllReferences().
|
protected |
Definition at line 701 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().
ilAdvancedMDRecordGUI::getAdvMdRecordObject | ( | ) |
Get adv md record type.
Definition at line 102 of file class.ilAdvancedMDRecordGUI.php.
References $adv_ref_id, $adv_subtype, $adv_type, $obj_type, $ref_id, and $sub_type.
Referenced by getActiveRecords().
ilAdvancedMDRecordGUI::getFilterElements | ( | $a_only_non_empty = true | ) |
Get SQL conditions for current filter value(s)
Definition at line 766 of file class.ilAdvancedMDRecordGUI.php.
References $res.
Referenced by ilTable2GUI\isAdvMDFilter().
ilAdvancedMDRecordGUI::getRowData | ( | ) |
Get row data.
Definition at line 696 of file class.ilAdvancedMDRecordGUI.php.
Referenced by parseTableCells().
ilAdvancedMDRecordGUI::getTableGUI | ( | ) |
Get table.
Definition at line 676 of file class.ilAdvancedMDRecordGUI.php.
|
private |
handle ecs definitions
private
object | ilAdvMDFieldDefinition |
Definition at line 484 of file class.ilAdvancedMDRecordGUI.php.
References ilECSServerSettings\getInstance().
Referenced by parseTableCells(), and parseTableHead().
ilAdvancedMDRecordGUI::importEditFormPostValues | ( | ) |
Load edit form values from post.
Definition at line 257 of file class.ilAdvancedMDRecordGUI.php.
References $valid.
Referenced by ilObjSessionGUI\saveObject(), and ilObjSessionGUI\updateObject().
ilAdvancedMDRecordGUI::importFilter | ( | ) |
Import filter (post) values.
Definition at line 750 of file class.ilAdvancedMDRecordGUI.php.
ilAdvancedMDRecordGUI::importSearchForm | ( | ) |
Load edit form values from post.
Definition at line 367 of file class.ilAdvancedMDRecordGUI.php.
ilAdvancedMDRecordGUI::parse | ( | ) |
Get HTML.
public
Definition at line 164 of file class.ilAdvancedMDRecordGUI.php.
References parseAppointmentPresentation(), parseEditor(), parseFilter(), parseInfoPage(), parseRecordSelection(), parseSearch(), parseTableCells(), and parseTableHead().
|
private |
Presentation for calendar agenda list.
Definition at line 429 of file class.ilAdvancedMDRecordGUI.php.
References ilAdvancedMDSubstitution\_getInstanceByObjectType(), ilADTFactory\getInstance(), ilAdvancedMDFieldDefinition\getInstancesByObjType(), and ilAdvancedMDValues\getInstancesForObjectId().
Referenced by parse().
|
protected |
parse hours and minutes from duration
protected
Definition at line 595 of file class.ilAdvancedMDRecordGUI.php.
Referenced by showECSStart().
|
protected |
Parse property form in editor mode.
Definition at line 204 of file class.ilAdvancedMDRecordGUI.php.
References $def, $values, getActiveRecords(), and ilADTFactory\getInstance().
Referenced by parse().
|
private |
Parse property for filter (table)
private
Definition at line 714 of file class.ilAdvancedMDRecordGUI.php.
References $def, getActiveRecords(), ilADTFactory\getInstance(), and ilAdvancedMDFieldDefinition\getInstancesByRecordId().
Referenced by parse().
|
private |
Presentation for info page.
Definition at line 401 of file class.ilAdvancedMDRecordGUI.php.
References ilAdvancedMDRecord\_lookupTitle(), ilADTFactory\getInstance(), ilAdvancedMDValues\getInstancesForObjectId(), and info().
Referenced by parse().
ilAdvancedMDRecordGUI::parseRecordSelection | ( | $a_sec_head = "" | ) |
Parse property form in editor mode.
private
Definition at line 617 of file class.ilAdvancedMDRecordGUI.php.
References $DIC, $ilUser, $section, ilAdvancedMDRecord\_getActivatedRecordsByObjectType(), ilAdvancedMDRecord\getObjRecSelection(), and ilFormPropertyGUI\setInfo().
Referenced by parse().
|
private |
Parse search.
Definition at line 317 of file class.ilAdvancedMDRecordGUI.php.
References $section, getActiveRecords(), ilADTFactory\getInstance(), and ilAdvancedMDFieldDefinition\getInstancesByRecordId().
Referenced by parse().
|
private |
Parse table cells.
Definition at line 812 of file class.ilAdvancedMDRecordGUI.php.
References $data, $def, $html, getActiveRecords(), ilAdvancedMDFieldDefinition\getInstancesByRecordId(), getRowData(), and handleECSDefinitions().
Referenced by parse().
|
private |
Parse property for table head.
Definition at line 792 of file class.ilAdvancedMDRecordGUI.php.
References $def, getActiveRecords(), ilAdvancedMDFieldDefinition\getInstancesByRecordId(), and handleECSDefinitions().
Referenced by parse().
ilAdvancedMDRecordGUI::saveSelection | ( | ) |
Save selection per object.
Definition at line 654 of file class.ilAdvancedMDRecordGUI.php.
References $_POST, ilAdvancedMDRecord\saveObjRecSelection(), and ilUtil\stripSlashesArray().
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 90 of file class.ilAdvancedMDRecordGUI.php.
ilAdvancedMDRecordGUI::setInfoObject | ( | $info | ) |
get info sections
public
object | instance of ilInfoScreenGUI |
Definition at line 152 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilObjIndividualAssessmentGUI\buildInfoScreen(), ilObjOrgUnitGUI\executeCommand(), ilObjStudyProgrammeGUI\fillInfoScreen(), ilRemoteObjectBaseGUI\infoScreen(), ilObjCourseGUI\infoScreen(), ilObjSessionGUI\infoScreen(), ilObjCategoryGUI\infoScreen(), and ilObjGroupGUI\infoScreen().
ilAdvancedMDRecordGUI::setPropertyForm | ( | $form | ) |
set property form object
public
Definition at line 128 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 116 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 686 of file class.ilAdvancedMDRecordGUI.php.
ilAdvancedMDRecordGUI::setSearchFormValues | ( | array | $a_values | ) |
Definition at line 392 of file class.ilAdvancedMDRecordGUI.php.
ilAdvancedMDRecordGUI::setSearchValues | ( | $a_values | ) |
ilAdvancedMDRecordGUI::setTableGUI | ( | $a_val | ) |
Set table.
object | $a_val | table gui class |
Definition at line 666 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilPresentationListTableGUI\__construct(), ilMediaPoolTableGUI\__construct(), and ilMediaPoolTableGUI\fillRow().
|
private |
Show special form for ecs start.
private
object | ilAdvMDFieldDefinition |
Definition at line 503 of file class.ilAdvancedMDRecordGUI.php.
References $def, $DIC, $ilUser, $text, $time, ilECSDataMappingSettings\_getInstance(), 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 283 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().
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(), ilMediaPoolTableGUI\__construct(), ilBookingObjectsTableGUI\getItems(), and ilBookingReservationsTableGUI\getItems().
const ilAdvancedMDRecordGUI::MODE_INFO = 3 |
Definition at line 18 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilObjIndividualAssessmentGUI\buildInfoScreen(), ilObjOrgUnitGUI\executeCommand(), ilObjStudyProgrammeGUI\fillInfoScreen(), ilRemoteObjectBaseGUI\infoScreen(), ilObjCourseGUI\infoScreen(), ilObjSessionGUI\infoScreen(), ilObjCategoryGUI\infoScreen(), and ilObjGroupGUI\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.
Referenced by ilMediaPoolTableGUI\fillRow().
const ilAdvancedMDRecordGUI::MODE_TABLE_HEAD = 6 |
Definition at line 24 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilMediaPoolTableGUI\__construct().