ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilDclDatatype. More...
Public Member Functions | |
__construct ($a_id=0) | |
Constructor. More... | |
getId () | |
Get field id. More... | |
setTitle ($a_title) | |
Set title. More... | |
getTitle () | |
Get title. More... | |
setStorageLocation ($a_id) | |
Set Storage Location. More... | |
getStorageLocation () | |
Get Storage Location. More... | |
getDbType () | |
doRead () | |
Read Datatype. More... | |
Static Public Member Functions | |
static | getAllDatatype () |
Get all possible Datatypes. More... | |
Data Fields | |
const | INPUTFORMAT_NONE = 0 |
const | INPUTFORMAT_NUMBER = 1 |
const | INPUTFORMAT_TEXT = 2 |
const | INPUTFORMAT_REFERENCE = 3 |
const | INPUTFORMAT_BOOLEAN = 4 |
const | INPUTFORMAT_DATETIME = 5 |
const | INPUTFORMAT_FILE = 6 |
const | INPUTFORMAT_RATING = 7 |
const | INPUTFORMAT_ILIAS_REF = 8 |
const | INPUTFORMAT_MOB = 9 |
const | INPUTFORMAT_REFERENCELIST = 10 |
const | INPUTFORMAT_FORMULA = 11 |
const | INPUTFORMAT_PLUGIN = 12 |
const | INPUTFORMAT_NON_EDITABLE_VALUE = 13 |
Static Public Attributes | |
static | $datatype_cache |
Protected Member Functions | |
loadDatatype ($rec) | |
Protected Attributes | |
$id | |
$title | |
$storageLocation | |
$dbType | |
ilDclDatatype::__construct | ( | $a_id = 0 | ) |
Constructor.
public
integer | datatype_id |
Definition at line 84 of file class.ilDclDatatype.php.
References doRead().
ilDclDatatype::doRead | ( | ) |
Read Datatype.
Definition at line 153 of file class.ilDclDatatype.php.
References $DIC, $ilDB, $query, getId(), and loadDatatype().
Referenced by __construct().
|
static |
Get all possible Datatypes.
Definition at line 170 of file class.ilDclDatatype.php.
References $DIC, $ilDB, $query, and array.
Referenced by ilDclFieldEditGUI\__construct(), ilDclCache\getDatatype(), and ilDclFieldEditGUI\initForm().
ilDclDatatype::getDbType | ( | ) |
ilDclDatatype::getId | ( | ) |
Get field id.
Definition at line 97 of file class.ilDclDatatype.php.
References $id.
Referenced by doRead().
ilDclDatatype::getStorageLocation | ( | ) |
Get Storage Location.
Definition at line 137 of file class.ilDclDatatype.php.
References $storageLocation.
ilDclDatatype::getTitle | ( | ) |
|
protected |
Definition at line 191 of file class.ilDclDatatype.php.
References setStorageLocation(), and setTitle().
Referenced by doRead().
ilDclDatatype::setStorageLocation | ( | $a_id | ) |
Set Storage Location.
int | $a_id |
Definition at line 127 of file class.ilDclDatatype.php.
Referenced by loadDatatype().
ilDclDatatype::setTitle | ( | $a_title | ) |
Set title.
string | $a_title |
Definition at line 107 of file class.ilDclDatatype.php.
Referenced by loadDatatype().
|
static |
Definition at line 73 of file class.ilDclDatatype.php.
|
protected |
Definition at line 69 of file class.ilDclDatatype.php.
Referenced by getDbType().
|
protected |
Definition at line 57 of file class.ilDclDatatype.php.
Referenced by getId().
|
protected |
Definition at line 65 of file class.ilDclDatatype.php.
Referenced by getStorageLocation().
|
protected |
Definition at line 61 of file class.ilDclDatatype.php.
Referenced by getTitle().
const ilDclDatatype::INPUTFORMAT_BOOLEAN = 4 |
Definition at line 40 of file class.ilDclDatatype.php.
Referenced by ilDclTable\getFirstTableViewId(), and ilDclNReferenceRecordFieldModel\loadValueSorted().
const ilDclDatatype::INPUTFORMAT_DATETIME = 5 |
Definition at line 41 of file class.ilDclDatatype.php.
Referenced by ilDclStandardField\_getStandardFieldsAsArray(), ilDclNReferenceFieldGUI\getHTML(), ilDclReferenceFieldRepresentation\getInputField(), and ilDclStandardField\getRecordQueryFilterObject().
const ilDclDatatype::INPUTFORMAT_FILE = 6 |
Definition at line 42 of file class.ilDclDatatype.php.
Referenced by ilDclReferenceFieldModel\allowFilterInListView(), ilDclBaseRecordModel\doDelete(), ilDclTable\getFirstTableViewId(), ilDclReferenceFieldRepresentation\getInputField(), ilDataCollectionExporter\getXmlExportHeadDependencies(), ilDataCollectionDataSet\getXmlNamespace(), and ilDclNReferenceRecordFieldModel\loadValueSorted().
const ilDclDatatype::INPUTFORMAT_FORMULA = 11 |
Definition at line 47 of file class.ilDclDatatype.php.
Referenced by ilDclTable\getFirstTableViewId().
const ilDclDatatype::INPUTFORMAT_ILIAS_REF = 8 |
Definition at line 44 of file class.ilDclDatatype.php.
Referenced by ilDclTable\getFirstTableViewId(), ilDclReferenceFieldRepresentation\getInputField(), ilDataCollectionDataSet\getXmlNamespace(), and ilDclNReferenceRecordFieldModel\loadValueSorted().
const ilDclDatatype::INPUTFORMAT_MOB = 9 |
Definition at line 45 of file class.ilDclDatatype.php.
Referenced by ilDclReferenceFieldModel\allowFilterInListView(), ilDclBaseRecordModel\doDelete(), ilDclTable\getFirstTableViewId(), ilDclReferenceFieldRepresentation\getInputField(), ilDataCollectionExporter\getXmlExportHeadDependencies(), ilDataCollectionDataSet\getXmlNamespace(), and ilDclNReferenceRecordFieldModel\loadValueSorted().
const ilDclDatatype::INPUTFORMAT_NON_EDITABLE_VALUE = 13 |
Definition at line 49 of file class.ilDclDatatype.php.
const ilDclDatatype::INPUTFORMAT_NONE = 0 |
Definition at line 36 of file class.ilDclDatatype.php.
Referenced by ilDclStandardField\_getStandardFieldsAsArray().
const ilDclDatatype::INPUTFORMAT_NUMBER = 1 |
Definition at line 37 of file class.ilDclDatatype.php.
Referenced by ilDclStandardField\_getStandardFieldsAsArray(), ilDclRecordListTableGUI\buildData(), ilDclNReferenceFieldGUI\getHTML(), ilDclStandardField\getRecordQueryFilterObject(), ilDclBaseFieldModel\hasNumericSorting(), and ilDclNReferenceRecordFieldModel\loadValueSorted().
const ilDclDatatype::INPUTFORMAT_PLUGIN = 12 |
Definition at line 48 of file class.ilDclDatatype.php.
Referenced by ilDclBaseFieldRepresentation\addFieldCreationForm(), ilDclFieldFactory\getClassPathByInstance(), and ilDclFieldFactory\getFieldTypeByInstance().
const ilDclDatatype::INPUTFORMAT_RATING = 7 |
Definition at line 43 of file class.ilDclDatatype.php.
Referenced by ilDclTable\getFirstTableViewId().
const ilDclDatatype::INPUTFORMAT_REFERENCE = 3 |
Definition at line 39 of file class.ilDclDatatype.php.
Referenced by ilDclReferenceFieldRepresentation\buildFieldCreationInput(), ilDclBaseFieldModel\cloneProperties(), ilDclDetailedViewDefinition\getAvailablePlaceholders(), ilDclTable\getFirstTableViewId(), and ilDataCollectionDataSet\getXmlNamespace().
const ilDclDatatype::INPUTFORMAT_REFERENCELIST = 10 |
Definition at line 46 of file class.ilDclDatatype.php.
Referenced by ilDclTable\getFirstTableViewId(), and ilDataCollectionDataSet\getXmlNamespace().
const ilDclDatatype::INPUTFORMAT_TEXT = 2 |
Definition at line 38 of file class.ilDclDatatype.php.
Referenced by ilDclStandardField\_getStandardFieldsAsArray(), ilDclReferenceFieldRepresentation\getInputField(), ilDclStandardField\getRecordQueryFilterObject(), and ilDclNReferenceRecordFieldModel\loadValueSorted().