ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilDclBaseFieldRepresentation. More...
Public Member Functions | |
__construct (ilDclBaseFieldModel $field) | |
addFilterInputFieldToTable (ilTable2GUI $table) | |
Add filter input to TableGUI. More... | |
passThroughFilter (ilDclBaseRecordModel $record, $filter) | |
Checks if a filter affects a record. More... | |
parseSortingValue ($value, $link=true) | |
getInputField (ilPropertyFormGUI $form, $record_id=0) | |
Returns field-input. More... | |
addFieldCreationForm ($form, ilObjDataCollection $dcl, $mode="create") | |
Adds the options for the field-types to the field-creation form. More... | |
getPropertyInputFieldId ($property) | |
Return post-var for property-fields. More... | |
getField () | |
Return BaseFieldModel. More... | |
Protected Member Functions | |
setupFilterInputField (ilFormPropertyGUI $input) | |
Set basic settings for filter-input-gui. More... | |
setupInputField (ilFormPropertyGUI $input, ilDclBaseFieldModel $field) | |
Sets basic settings on field-input. More... | |
getFilterInputFieldValue ( $input) | |
buildFieldCreationInput (ilObjDataCollection $dcl, $mode='create') | |
Build the creation-input-field. More... | |
Protected Attributes | |
$field | |
$lng | |
$ctrl | |
Class ilDclBaseFieldRepresentation.
Definition at line 10 of file class.ilDclBaseFieldRepresentation.php.
ilDclBaseFieldRepresentation::__construct | ( | ilDclBaseFieldModel | $field | ) |
ilDclBaseFieldRepresentation::addFieldCreationForm | ( | $form, | |
ilObjDataCollection | $dcl, | ||
$mode = "create" |
|||
) |
Adds the options for the field-types to the field-creation form.
$form | ||
ilObjDataCollection | $dcl | |
string | $mode |
Definition at line 150 of file class.ilDclBaseFieldRepresentation.php.
References $form, buildFieldCreationInput(), getField(), ilDclFieldFactory\getPluginNameFromFieldModel(), and ilDclDatatype\INPUTFORMAT_PLUGIN.
ilDclBaseFieldRepresentation::addFilterInputFieldToTable | ( | ilTable2GUI | $table | ) |
Add filter input to TableGUI.
ilTable2GUI | $table |
Definition at line 41 of file class.ilDclBaseFieldRepresentation.php.
|
protected |
Build the creation-input-field.
ilObjDataCollection | $dcl | |
string | $mode |
Definition at line 175 of file class.ilDclBaseFieldRepresentation.php.
References getField(), and ilRadioOption\setInfo().
Referenced by addFieldCreationForm().
ilDclBaseFieldRepresentation::getField | ( | ) |
Return BaseFieldModel.
Definition at line 199 of file class.ilDclBaseFieldRepresentation.php.
References $field.
Referenced by addFieldCreationForm(), ilDclTextFieldRepresentation\addFilterInputFieldToTable(), ilDclDatetimeFieldRepresentation\addFilterInputFieldToTable(), ilDclBooleanFieldRepresentation\addFilterInputFieldToTable(), ilDclIliasReferenceFieldRepresentation\addFilterInputFieldToTable(), ilDclNumberFieldRepresentation\addFilterInputFieldToTable(), ilDclRatingFieldRepresentation\addFilterInputFieldToTable(), ilDclMobFieldRepresentation\addFilterInputFieldToTable(), ilDclFileuploadFieldRepresentation\addFilterInputFieldToTable(), ilDclReferenceFieldRepresentation\addFilterInputFieldToTable(), ilDclSelectionFieldRepresentation\addFilterInputFieldToTable(), ilDclSelectionFieldRepresentation\buildFieldCreationInput(), ilDclMobFieldRepresentation\buildFieldCreationInput(), buildFieldCreationInput(), ilDclDatetimeFieldRepresentation\getInputField(), ilDclMobFieldRepresentation\getInputField(), ilDclBooleanFieldRepresentation\getInputField(), ilDclNumberFieldRepresentation\getInputField(), ilDclRatingFieldRepresentation\getInputField(), ilDclFormulaFieldRepresentation\getInputField(), ilDclIliasReferenceFieldRepresentation\getInputField(), ilDclReferenceFieldRepresentation\getInputField(), ilDclFileuploadFieldRepresentation\getInputField(), ilDclTextFieldRepresentation\getInputField(), ilDclTextFieldRepresentation\passThroughFilter(), ilDclDatetimeFieldRepresentation\passThroughFilter(), ilDclIliasReferenceFieldRepresentation\passThroughFilter(), ilDclNumberFieldRepresentation\passThroughFilter(), ilDclMobFieldRepresentation\passThroughFilter(), ilDclRatingFieldRepresentation\passThroughFilter(), ilDclBooleanFieldRepresentation\passThroughFilter(), ilDclFileuploadFieldRepresentation\passThroughFilter(), passThroughFilter(), ilDclReferenceFieldRepresentation\passThroughFilter(), ilDclFileuploadFieldRepresentation\requiredWorkaroundForInputField(), and setupFilterInputField().
|
protected |
$input |
Definition at line 127 of file class.ilDclBaseFieldRepresentation.php.
Referenced by ilDclTextFieldRepresentation\addFilterInputFieldToTable(), ilDclDatetimeFieldRepresentation\addFilterInputFieldToTable(), ilDclBooleanFieldRepresentation\addFilterInputFieldToTable(), ilDclIliasReferenceFieldRepresentation\addFilterInputFieldToTable(), ilDclRatingFieldRepresentation\addFilterInputFieldToTable(), ilDclNumberFieldRepresentation\addFilterInputFieldToTable(), ilDclMobFieldRepresentation\addFilterInputFieldToTable(), ilDclFileuploadFieldRepresentation\addFilterInputFieldToTable(), ilDclReferenceFieldRepresentation\addFilterInputFieldToTable(), and ilDclSelectionFieldRepresentation\addFilterInputFieldToTable().
ilDclBaseFieldRepresentation::getInputField | ( | ilPropertyFormGUI | $form, |
$record_id = 0 |
|||
) |
Returns field-input.
ilPropertyFormGUI | $form | |
int | $record_id |
Definition at line 104 of file class.ilDclBaseFieldRepresentation.php.
Referenced by ilDclSelectionFieldRepresentation\buildFieldCreationInput().
ilDclBaseFieldRepresentation::getPropertyInputFieldId | ( | $property | ) |
Return post-var for property-fields.
$property |
Definition at line 189 of file class.ilDclBaseFieldRepresentation.php.
Referenced by ilDclTextFieldRepresentation\buildFieldCreationInput().
ilDclBaseFieldRepresentation::parseSortingValue | ( | $value, | |
$link = true |
|||
) |
$value | ||
bool | $link |
Definition at line 91 of file class.ilDclBaseFieldRepresentation.php.
ilDclBaseFieldRepresentation::passThroughFilter | ( | ilDclBaseRecordModel | $record, |
$filter | |||
) |
Checks if a filter affects a record.
ilDclBaseRecordModel | $record | |
$filter |
Definition at line 67 of file class.ilDclBaseFieldRepresentation.php.
References $pass, getField(), and ilDclBaseRecordModel\getRecordFieldValue().
|
protected |
Set basic settings for filter-input-gui.
ilFormPropertyGUI | $input |
Definition at line 51 of file class.ilDclBaseFieldRepresentation.php.
References getField(), and ilFormPropertyGUI\setTitle().
Referenced by ilDclTextFieldRepresentation\addFilterInputFieldToTable(), ilDclDatetimeFieldRepresentation\addFilterInputFieldToTable(), ilDclBooleanFieldRepresentation\addFilterInputFieldToTable(), ilDclIliasReferenceFieldRepresentation\addFilterInputFieldToTable(), ilDclRatingFieldRepresentation\addFilterInputFieldToTable(), ilDclNumberFieldRepresentation\addFilterInputFieldToTable(), ilDclMobFieldRepresentation\addFilterInputFieldToTable(), ilDclFileuploadFieldRepresentation\addFilterInputFieldToTable(), ilDclReferenceFieldRepresentation\addFilterInputFieldToTable(), and ilDclSelectionFieldRepresentation\addFilterInputFieldToTable().
|
protected |
Sets basic settings on field-input.
ilFormPropertyGUI | $input | |
ilDclBaseFieldModel | $field |
Definition at line 115 of file class.ilDclBaseFieldRepresentation.php.
References ilDclBaseFieldModel\getDescription(), ilFormPropertyGUI\getInfo(), ilDclBaseFieldModel\getRequired(), ilFormPropertyGUI\setInfo(), and ilFormPropertyGUI\setRequired().
Referenced by ilDclSelectionFieldRepresentation\buildFieldCreationInput(), ilDclDatetimeFieldRepresentation\getInputField(), ilDclBooleanFieldRepresentation\getInputField(), ilDclNumberFieldRepresentation\getInputField(), ilDclRatingFieldRepresentation\getInputField(), ilDclIliasReferenceFieldRepresentation\getInputField(), ilDclReferenceFieldRepresentation\getInputField(), ilDclTextFieldRepresentation\getInputField(), and ilDclFileuploadFieldRepresentation\requiredWorkaroundForInputField().
|
protected |
Definition at line 22 of file class.ilDclBaseFieldRepresentation.php.
|
protected |
Definition at line 12 of file class.ilDclBaseFieldRepresentation.php.
Referenced by __construct(), ilDclReferenceFieldRepresentation\buildFieldCreationInput(), and getField().
|
protected |
Definition at line 17 of file class.ilDclBaseFieldRepresentation.php.
Referenced by __construct().