ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 |
const | INPUTFORMAT_TEXT_SELECTION = 14 |
const | INPUTFORMAT_DATE_SELECTION = 15 |
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 65 of file class.ilDclDatatype.php.
References doRead().
ilDclDatatype::doRead | ( | ) |
Read Datatype.
Definition at line 141 of file class.ilDclDatatype.php.
References $DIC, $ilDB, $query, getId(), and loadDatatype().
Referenced by __construct().
|
static |
Get all possible Datatypes.
Definition at line 159 of file class.ilDclDatatype.php.
References $DIC, $ilDB, and $query.
Referenced by ilDclFieldEditGUI\__construct(), ilDclCache\getDatatype(), and ilDclFieldEditGUI\initForm().
ilDclDatatype::getDbType | ( | ) |
ilDclDatatype::getId | ( | ) |
Get field id.
Definition at line 79 of file class.ilDclDatatype.php.
References $id.
Referenced by doRead().
ilDclDatatype::getStorageLocation | ( | ) |
Get Storage Location.
Definition at line 123 of file class.ilDclDatatype.php.
References $storageLocation.
ilDclDatatype::getTitle | ( | ) |
|
protected |
Definition at line 182 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 112 of file class.ilDclDatatype.php.
Referenced by loadDatatype().
ilDclDatatype::setTitle | ( | $a_title | ) |
Set title.
string | $a_title |
Definition at line 90 of file class.ilDclDatatype.php.
Referenced by loadDatatype().
|
static |
Definition at line 54 of file class.ilDclDatatype.php.
|
protected |
Definition at line 50 of file class.ilDclDatatype.php.
Referenced by getDbType().
|
protected |
Definition at line 38 of file class.ilDclDatatype.php.
Referenced by getId().
|
protected |
Definition at line 46 of file class.ilDclDatatype.php.
Referenced by getStorageLocation().
|
protected |
Definition at line 42 of file class.ilDclDatatype.php.
Referenced by getTitle().
const ilDclDatatype::INPUTFORMAT_BOOLEAN = 4 |
Definition at line 22 of file class.ilDclDatatype.php.
Referenced by ilDclNReferenceRecordFieldModel\loadValueSorted().
const ilDclDatatype::INPUTFORMAT_DATE_SELECTION = 15 |
Definition at line 33 of file class.ilDclDatatype.php.
const ilDclDatatype::INPUTFORMAT_DATETIME = 5 |
Definition at line 23 of file class.ilDclDatatype.php.
Referenced by ilDclStandardField\_getStandardFieldsAsArray(), ilDclNReferenceFieldGUI\getHTML(), ilDclReferenceFieldRepresentation\getInputField(), and ilDclStandardField\getRecordQueryFilterObject().
const ilDclDatatype::INPUTFORMAT_FILE = 6 |
Definition at line 24 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 29 of file class.ilDclDatatype.php.
Referenced by ilDclTable\getFirstTableViewId().
const ilDclDatatype::INPUTFORMAT_ILIAS_REF = 8 |
Definition at line 26 of file class.ilDclDatatype.php.
Referenced by ilDclTable\getFirstTableViewId(), ilDclReferenceFieldRepresentation\getInputField(), ilDataCollectionDataSet\getXmlNamespace(), and ilDclNReferenceRecordFieldModel\loadValueSorted().
const ilDclDatatype::INPUTFORMAT_MOB = 9 |
Definition at line 27 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 31 of file class.ilDclDatatype.php.
const ilDclDatatype::INPUTFORMAT_NONE = 0 |
Definition at line 18 of file class.ilDclDatatype.php.
Referenced by ilDclStandardField\_getStandardFieldsAsArray().
const ilDclDatatype::INPUTFORMAT_NUMBER = 1 |
const ilDclDatatype::INPUTFORMAT_PLUGIN = 12 |
Definition at line 30 of file class.ilDclDatatype.php.
Referenced by ilDclBaseFieldRepresentation\addFieldCreationForm(), ilDclFieldFactory\getClassPathByInstance(), and ilDclFieldFactory\getFieldTypeByInstance().
const ilDclDatatype::INPUTFORMAT_RATING = 7 |
Definition at line 25 of file class.ilDclDatatype.php.
Referenced by ilDclTable\getFirstTableViewId().
const ilDclDatatype::INPUTFORMAT_REFERENCE = 3 |
Definition at line 21 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 28 of file class.ilDclDatatype.php.
Referenced by ilDclTable\getFirstTableViewId(), and ilDataCollectionDataSet\getXmlNamespace().
const ilDclDatatype::INPUTFORMAT_TEXT = 2 |
Definition at line 20 of file class.ilDclDatatype.php.
Referenced by ilDclStandardField\_getStandardFieldsAsArray(), ilDclReferenceFieldRepresentation\getInputField(), ilDclStandardField\getRecordQueryFilterObject(), and ilDclNReferenceRecordFieldModel\loadValueSorted().
const ilDclDatatype::INPUTFORMAT_TEXT_SELECTION = 14 |
Definition at line 32 of file class.ilDclDatatype.php.