ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
__construct ($a_mode, $a_obj_type= '', $a_obj_id= '', $a_sub_type= '', $a_sub_id= '') | |
Constructor. | |
setPropertyForm ($form) | |
set property form object | |
setSearchValues ($a_values) | |
Set values for search form. | |
setInfoObject ($info) | |
get info sections | |
setSelectedOnly ($a_val) | |
Set selected only flag. | |
getSelectedOnly () | |
Get selected only flag. | |
parse () | |
Get HTML. | |
importEditFormPostValues () | |
Load edit form values from post. | |
writeEditForm () | |
Write edit form values to db. | |
importSearchForm () | |
Load edit form values from post. | |
setSearchFormValues (array $a_values) | |
parseRecordSelection ($a_sec_head="") | |
Parse property form in editor mode. | |
saveSelection () | |
Save selection per object. | |
setTableGUI ($a_val) | |
Set table. | |
getTableGUI () | |
Get table. | |
setRowData ($a_val) | |
Set row data. | |
getRowData () | |
Get row data. | |
importFilter () | |
Import filter (post) values. | |
getFilterElements () | |
Get SQL conditions for current filter value(s) |
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. | |
parseDuration ($u_start, $u_end) | |
parse hours and minutes from duration |
Protected Attributes | |
$lng | |
$editor_form |
Private Member Functions | |
parseSearch () | |
Parse search. | |
parseInfoPage () | |
handleECSDefinitions ($a_definition) | |
handle ecs definitions | |
showECSStart ($def) | |
Show special form for ecs start. | |
parseFilter () | |
Parse property for filter (table) | |
parseTableHead () | |
Parse property for table head. | |
parseTableCells () | |
Parse table cells. |
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.
ilAdvancedMDRecordGUI::getFilterElements | ( | ) |
Get SQL conditions for current filter value(s)
Definition at line 721 of file class.ilAdvancedMDRecordGUI.php.
References $res.
ilAdvancedMDRecordGUI::getRowData | ( | ) |
Get row data.
Definition at line 638 of file class.ilAdvancedMDRecordGUI.php.
Referenced by parseTableCells().
ilAdvancedMDRecordGUI::getSelectedOnly | ( | ) |
Get selected only flag.
Definition at line 109 of file class.ilAdvancedMDRecordGUI.php.
Referenced by parseEditor(), parseFilter(), parseSearch(), parseTableCells(), and parseTableHead().
ilAdvancedMDRecordGUI::getTableGUI | ( | ) |
Get table.
Definition at line 618 of file class.ilAdvancedMDRecordGUI.php.
|
private |
handle ecs definitions
private
object | ilAdvMDFieldDefinition |
Definition at line 401 of file class.ilAdvancedMDRecordGUI.php.
References ilECSServerSettings\getInstance().
Referenced by parseTableCells(), and parseTableHead().
ilAdvancedMDRecordGUI::importEditFormPostValues | ( | ) |
Load edit form values from post.
Definition at line 219 of file class.ilAdvancedMDRecordGUI.php.
References $valid.
ilAdvancedMDRecordGUI::importFilter | ( | ) |
Import filter (post) values.
Definition at line 703 of file class.ilAdvancedMDRecordGUI.php.
ilAdvancedMDRecordGUI::importSearchForm | ( | ) |
Load edit form values from post.
Definition at line 324 of file class.ilAdvancedMDRecordGUI.php.
ilAdvancedMDRecordGUI::parse | ( | ) |
Get HTML.
public
Definition at line 121 of file class.ilAdvancedMDRecordGUI.php.
References parseEditor(), parseFilter(), parseInfoPage(), parseRecordSelection(), parseSearch(), parseTableCells(), and parseTableHead().
|
protected |
parse hours and minutes from duration
protected
@return |
Definition at line 535 of file class.ilAdvancedMDRecordGUI.php.
Referenced by showECSStart().
|
protected |
Parse property form in editor mode.
Definition at line 159 of file class.ilAdvancedMDRecordGUI.php.
References ilAdvancedMDRecord\_getActivatedRecordsByObjectType(), ilAdvancedMDRecord\_getSelectedRecordsByObject(), ilADTFactory\getInstance(), and getSelectedOnly().
Referenced by parse().
|
private |
Parse property for filter (table)
private
Definition at line 649 of file class.ilAdvancedMDRecordGUI.php.
References ilAdvancedMDRecord\_getActivatedRecordsByObjectType(), ilAdvancedMDRecord\_getSelectedRecordsByObject(), ilADTFactory\getInstance(), ilAdvancedMDFieldDefinition\getInstancesByRecordId(), getSelectedOnly(), ilAdvancedMDFieldDefinition\TYPE_DATE, ilAdvancedMDFieldDefinition\TYPE_DATETIME, ilAdvancedMDFieldDefinition\TYPE_SELECT, ilAdvancedMDFieldDefinition\TYPE_SELECT_MULTI, and ilAdvancedMDFieldDefinition\TYPE_TEXT.
Referenced by parse().
|
private |
Definition at line 364 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 558 of file class.ilAdvancedMDRecordGUI.php.
References $ilUser, $section, ilAdvancedMDRecord\_getActivatedRecordsByObjectType(), ilAdvancedMDRecord\getObjRecSelection(), and ilFormPropertyGUI\setInfo().
Referenced by parse().
|
private |
Parse search.
Definition at line 269 of file class.ilAdvancedMDRecordGUI.php.
References $section, ilAdvancedMDRecord\_getActivatedRecordsByObjectType(), ilAdvancedMDRecord\_getSelectedRecordsByObject(), ilADTFactory\getInstance(), ilAdvancedMDFieldDefinition\getInstancesByRecordId(), and getSelectedOnly().
Referenced by parse().
|
private |
Parse table cells.
Definition at line 780 of file class.ilAdvancedMDRecordGUI.php.
References $ilUser, ilAdvancedMDRecord\_getActivatedRecordsByObjectType(), ilAdvancedMDRecord\_getSelectedRecordsByObject(), getRowData(), getSelectedOnly(), and handleECSDefinitions().
Referenced by parse().
|
private |
Parse property for table head.
Definition at line 749 of file class.ilAdvancedMDRecordGUI.php.
References $ilUser, ilAdvancedMDRecord\_getActivatedRecordsByObjectType(), ilAdvancedMDRecord\_getSelectedRecordsByObject(), getSelectedOnly(), and handleECSDefinitions().
Referenced by parse().
ilAdvancedMDRecordGUI::saveSelection | ( | ) |
Save selection per object.
@return |
Definition at line 596 of file class.ilAdvancedMDRecordGUI.php.
References $_POST, ilAdvancedMDRecord\saveObjRecSelection(), and ilUtil\stripSlashesArray().
Referenced by ilObjGlossaryGUI\saveProperties(), and ilObjWikiGUI\saveSettingsObject().
ilAdvancedMDRecordGUI::setInfoObject | ( | $info | ) |
get info sections
public
object | instance of ilInfoScreenGUI |
Definition at line 89 of file class.ilAdvancedMDRecordGUI.php.
Referenced by 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 ilObjOrgUnitGUI\editAdvancedSettings(), ilGlossaryTermGUI\getEditTermForm(), ilWikiPageGUI\initAdvancedMetaDataForm(), ilRemoteObjectBaseGUI\initEditForm(), ilObjCategoryGUI\initExtendedSettings(), ilObjCourseGUI\initInfoEditor(), ilObjGlossaryGUI\initSettingsForm(), ilObjWikiGUI\initSettingsForm(), 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 628 of file class.ilAdvancedMDRecordGUI.php.
ilAdvancedMDRecordGUI::setSearchFormValues | ( | array | $a_values | ) |
Definition at line 354 of file class.ilAdvancedMDRecordGUI.php.
ilAdvancedMDRecordGUI::setSearchValues | ( | $a_values | ) |
Set values for search form.
public
Definition at line 76 of file class.ilAdvancedMDRecordGUI.php.
ilAdvancedMDRecordGUI::setSelectedOnly | ( | $a_val | ) |
Set selected only flag.
boolean | $a_val | retrieve only records, that are selected by the object |
Definition at line 99 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilPresentationListTableGUI\__construct().
ilAdvancedMDRecordGUI::setTableGUI | ( | $a_val | ) |
Set table.
object | $a_val | table gui class |
Definition at line 608 of file class.ilAdvancedMDRecordGUI.php.
|
private |
Show special form for ecs start.
private
object | ilAdvMDFieldDefinition |
Definition at line 442 of file class.ilAdvancedMDRecordGUI.php.
References $ilUser, ilECSDataMappingSettings\_getInstance(), ilAdvancedMDFieldDefinition\getInstance(), IL_CAL_UNIX, parseDuration(), ilDurationInputGUI\setHours(), ilAdvancedMDFieldDefinition\TYPE_SELECT, and ilAdvancedMDFieldDefinition\TYPE_TEXT.
ilAdvancedMDRecordGUI::writeEditForm | ( | ) |
Write edit form values to db.
Definition at line 246 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilGlossaryTermGUI\updateTerm().
|
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 ilObjOrgUnitGUI\editAdvancedSettings(), ilGlossaryTermGUI\getEditTermForm(), ilWikiPageGUI\initAdvancedMetaDataForm(), ilRemoteObjectBaseGUI\initEditForm(), ilObjCategoryGUI\initExtendedSettings(), ilObjCourseGUI\initInfoEditor(), ilObjOrgUnitGUI\updateAdvancedSettings(), ilRemoteObjectBaseGUI\updateObject(), and ilGlossaryTermGUI\updateTerm().
const ilAdvancedMDRecordGUI::MODE_FILTER = 5 |
Definition at line 22 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilPresentationListTableGUI\__construct().
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 21 of file class.ilAdvancedMDRecordGUI.php.
Referenced by ilObjGlossaryGUI\initSettingsForm(), ilObjWikiGUI\initSettingsForm(), ilObjGlossaryGUI\saveProperties(), and ilObjWikiGUI\saveSettingsObject().
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.