2 require_once (
'./Modules/DataCollection/classes/Fields/Mob/class.ilDclMobFieldModel.php');
3 require_once(
'./Modules/DataCollection/classes/Fields/Fileupload/class.ilDclFileuploadFieldRepresentation.php');
16 $input->setAllowDeletion(
true);
26 $input->setSubmitFormOnEnter(
true);
37 $file_name = $m_obj->getTitle();
38 if (!$filter || strpos(strtolower($file_name), strtolower($filter)) !==
false) {
48 $opt =
new ilRadioOption($this->lng->txt(
'dcl_' . $this->getField()->getDatatype()->getTitle()), $this->
getField()->getDatatypeId());
49 $opt->
setInfo($this->lng->txt(
'dcl_' . $this->getField()->getDatatype()->getTitle().
'_desc'));
53 $prop_width =
new ilNumberInputGUI($this->lng->txt(
'dcl_width'),
'prop_'.ilDclBaseFieldModel::PROP_WIDTH);
55 $prop_width->setMaxValue(4000);
57 $opt->addSubItem($prop_width);
59 $prop_height =
new ilNumberInputGUI($this->lng->txt(
'dcl_height'),
'prop_'.ilDclBaseFieldModel::PROP_HEIGHT);
61 $prop_height->setMaxValue(4000);
63 $opt->addSubItem($prop_height);
65 $prop_page_details =
new ilDclCheckboxInputGUI($this->lng->txt(
'dcl_link_detail_page'),
'prop_'.ilDclBaseFieldModel::PROP_LINK_DETAIL_PAGE_TEXT);
This class represents an option in a radio group.
addFilterItemByMetaType($id, $type=self::FILTER_TEXT, $a_optional=false, $caption=NULL)
Add filter by standard type.
buildFieldCreationInput(ilObjDataCollection $dcl, $mode='create')
setInfo($a_info)
Set Info.
passThroughFilter(ilDclBaseRecordModel $record, $filter)
setupFilterInputField(ilFormPropertyGUI $input)
Set basic settings for filter-input-gui.
getField()
Return BaseFieldModel.
Class ilDclFileuploadFieldRepresentaion.
getInputField(ilPropertyFormGUI $form, $record_id=0)
addFilterInputFieldToTable(ilTable2GUI $table)
Class ilDclFileuploadFieldRepresentaion.
Class ilDclBaseRecordModel.
getRecordFieldValue($field_id)
Get Field Value.
getFilterInputFieldValue( $input)
Class ilObjDataCollection.
requiredWorkaroundForInputField($input, $record_id)