ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Public Member Functions | |
__construct (int $a_id=0) | |
Constructor public. More... | |
getId () | |
setTitle (string $a_title) | |
getTitle () | |
setStorageLocation (int $a_id) | |
Set Storage Location. More... | |
getStorageLocation () | |
Get Storage Location. More... | |
doRead () | |
Read Datatype. More... | |
Static Public Member Functions | |
static | getAllDatatype (bool $force=false) |
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_DATE = 5 |
const | INPUTFORMAT_FILEUPLOAD = 6 |
const | INPUTFORMAT_RATING = 7 |
const | INPUTFORMAT_ILIAS_REF = 8 |
const | INPUTFORMAT_MOB = 9 |
const | INPUTFORMAT_REFERENCELIST = 10 |
const | INPUTFORMAT_FORMULA = 11 |
const | INPUTFORMAT_TEXT_SELECTION = 14 |
const | INPUTFORMAT_DATE_SELECTION = 15 |
const | INPUTFORMAT_FILE = 16 |
const | INPUTFORMAT_COPY = 17 |
const | INPUTFORMAT_DATETIME = 18 |
const | INPUTFORMAT_DATETIME_SELECTION = 19 |
Static Public Attributes | |
static array | $datatype_cache = [] |
Protected Member Functions | |
loadDatatype (array $rec) | |
Protected Attributes | |
int | $id = 0 |
string | $title = "unknown" |
int | $storageLocation = 0 |
Definition at line 21 of file class.ilDclDatatype.php.
ilDclDatatype::__construct | ( | int | $a_id = 0 | ) |
Constructor public.
Definition at line 54 of file class.ilDclDatatype.php.
References doRead().
ilDclDatatype::doRead | ( | ) |
Read Datatype.
Definition at line 96 of file class.ilDclDatatype.php.
References $DIC, $ilDB, getId(), and loadDatatype().
Referenced by __construct().
|
static |
Get all possible Datatypes.
Definition at line 114 of file class.ilDclDatatype.php.
References $DIC, $ilDB, ilDclFieldTypePlugin\getPluginId(), ilDclFieldTypePlugin\isPluginDatatype(), and null.
Referenced by ilDclFieldEditGUI\__construct(), ilDclFieldListTableGUI\fillRowFromObject(), ilDclCache\getDatatype(), ilDclTableView\getFieldSettings(), ilDataCollectionDataSet\getXmlNamespace(), ilDclFieldEditGUI\initForm(), ilDclFieldTypePlugin\install(), and ilDclTable\loadCustomFields().
ilDclDatatype::getId | ( | ) |
Definition at line 62 of file class.ilDclDatatype.php.
References $id.
Referenced by doRead().
ilDclDatatype::getStorageLocation | ( | ) |
Get Storage Location.
Definition at line 88 of file class.ilDclDatatype.php.
References $storageLocation.
ilDclDatatype::getTitle | ( | ) |
|
protected |
Definition at line 143 of file class.ilDclDatatype.php.
References setStorageLocation(), and setTitle().
Referenced by doRead().
ilDclDatatype::setStorageLocation | ( | int | $a_id | ) |
Set Storage Location.
Definition at line 80 of file class.ilDclDatatype.php.
Referenced by loadDatatype().
ilDclDatatype::setTitle | ( | string | $a_title | ) |
Definition at line 67 of file class.ilDclDatatype.php.
Referenced by loadDatatype().
|
static |
Definition at line 48 of file class.ilDclDatatype.php.
|
protected |
Definition at line 42 of file class.ilDclDatatype.php.
Referenced by getId().
|
protected |
Definition at line 44 of file class.ilDclDatatype.php.
Referenced by getStorageLocation().
|
protected |
Definition at line 43 of file class.ilDclDatatype.php.
Referenced by getTitle().
const ilDclDatatype::INPUTFORMAT_BOOLEAN = 4 |
Definition at line 27 of file class.ilDclDatatype.php.
const ilDclDatatype::INPUTFORMAT_COPY = 17 |
Definition at line 38 of file class.ilDclDatatype.php.
Referenced by ilDclBaseFieldModel\cloneProperties(), and ilDataCollectionDBUpdateSteps9\step_17().
const ilDclDatatype::INPUTFORMAT_DATE = 5 |
Definition at line 28 of file class.ilDclDatatype.php.
Referenced by ilDclReferenceFieldRepresentation\getInputField(), ilDataCollectionDataSet\getXmlNamespace(), ILIAS\components\DataCollection\Fields\Formula\FormulaParser\Result\MathResultResolver\hasDateFieldsInMathTokens(), and ilDataCollectionDBUpdateSteps9\step_20().
const ilDclDatatype::INPUTFORMAT_DATE_SELECTION = 15 |
Definition at line 36 of file class.ilDclDatatype.php.
Referenced by ilDataCollectionDBUpdateSteps11\step_1().
const ilDclDatatype::INPUTFORMAT_DATETIME = 18 |
Definition at line 39 of file class.ilDclDatatype.php.
Referenced by ilDclStandardField\_getStandardFieldsAsArray(), ilDclStandardField\getRecordQueryFilterObject(), ilDataCollectionDataSet\getXmlNamespace(), and ilDataCollectionDBUpdateSteps11\step_3().
const ilDclDatatype::INPUTFORMAT_DATETIME_SELECTION = 19 |
Definition at line 40 of file class.ilDclDatatype.php.
Referenced by ilDataCollectionDBUpdateSteps11\step_3().
const ilDclDatatype::INPUTFORMAT_FILE = 16 |
Definition at line 37 of file class.ilDclDatatype.php.
Referenced by ilDataCollectionStorageMigration\step(), and ilDataCollectionDBUpdateSteps9\step_6().
const ilDclDatatype::INPUTFORMAT_FILEUPLOAD = 6 |
Definition at line 29 of file class.ilDclDatatype.php.
Referenced by ilDclReferenceFieldModel\allowFilterInListView(), ilDclFieldFactory\getClassPathByInstance(), ilDclFieldFactory\getFieldTypeByInstance(), ilDclReferenceFieldRepresentation\getInputField(), ilDataCollectionExporter\getXmlExportHeadDependencies(), ilDataCollectionDataSet\getXmlNamespace(), and ilDataCollectionDBUpdateSteps9\step_7().
const ilDclDatatype::INPUTFORMAT_FORMULA = 11 |
Definition at line 34 of file class.ilDclDatatype.php.
const ilDclDatatype::INPUTFORMAT_ILIAS_REF = 8 |
Definition at line 31 of file class.ilDclDatatype.php.
Referenced by ilDclReferenceFieldRepresentation\getInputField(), ilDataCollectionDataSet\getXmlNamespace(), and ilDataCollectionDBUpdateSteps11\step_1().
const ilDclDatatype::INPUTFORMAT_MOB = 9 |
Definition at line 32 of file class.ilDclDatatype.php.
Referenced by ilDclReferenceFieldModel\allowFilterInListView(), ilDclBaseRecordModel\doDelete(), ilDclReferenceFieldRepresentation\getInputField(), ilDataCollectionExporter\getXmlExportHeadDependencies(), ilDataCollectionDataSet\getXmlNamespace(), and ilDataCollectionDBUpdateSteps9\step_11().
const ilDclDatatype::INPUTFORMAT_NONE = 0 |
Definition at line 23 of file class.ilDclDatatype.php.
Referenced by ilDclRecordEditGUI\setFormValues().
const ilDclDatatype::INPUTFORMAT_NUMBER = 1 |
Definition at line 24 of file class.ilDclDatatype.php.
Referenced by ilDclStandardField\_getStandardFieldsAsArray(), ilDclCreateViewDefinitionGUI\executeCommand(), ilDclStandardField\getRecordQueryFilterObject(), and ilDclBaseFieldModel\hasNumericSorting().
const ilDclDatatype::INPUTFORMAT_RATING = 7 |
Definition at line 30 of file class.ilDclDatatype.php.
const ilDclDatatype::INPUTFORMAT_REFERENCE = 3 |
Definition at line 26 of file class.ilDclDatatype.php.
Referenced by ilDclReferenceFieldRepresentation\buildFieldCreationInput(), ilDclBaseFieldModel\cloneProperties(), and ilDataCollectionDataSet\getXmlNamespace().
const ilDclDatatype::INPUTFORMAT_REFERENCELIST = 10 |
Definition at line 33 of file class.ilDclDatatype.php.
Referenced by ilDataCollectionDataSet\getXmlNamespace().
const ilDclDatatype::INPUTFORMAT_TEXT = 2 |
Definition at line 25 of file class.ilDclDatatype.php.
Referenced by ilDclStandardField\_getStandardFieldsAsArray(), ilDclReferenceFieldRepresentation\getInputField(), ilDclStandardField\getRecordQueryFilterObject(), ilDataCollectionDataSet\getXmlNamespace(), ilDataCollectionDBUpdateSteps10\step_1(), ilDataCollectionDBUpdateSteps11\step_1(), and ilDataCollectionDBUpdateSteps9\step_12().
const ilDclDatatype::INPUTFORMAT_TEXT_SELECTION = 14 |
Definition at line 35 of file class.ilDclDatatype.php.
Referenced by ilDataCollectionDBUpdateSteps11\step_1().