ILIAS
trunk Revision v11.0_alpha-1769-g99a433fe2dc
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (protected ActiveRecord $activeRecord) | |
arFieldList constructor. More... | |
getArrayForConnector () | |
getFieldByName (string $field_name) | |
isField (string $field_name) | |
getPrimaryFieldName () | |
getPrimaryFieldType () | |
setFields (array $fields) | |
getFields () | |
setPrimaryField (\arField $arField) | |
getPrimaryField () | |
setRawFields (array $raw_fields) | |
getRawFields () | |
setPrimaryFields (array $primary_fields) | |
getPrimaryFields () | |
Static Public Member Functions | |
static | mapKey (string $key) |
static | getAllowedConnectorFields () |
static | getAllowedDescriptionFields () |
static | getInstance (ActiveRecord $activeRecord) |
static | getInstanceFromStorage (\ActiveRecord $activeRecord) |
Data Fields | |
const | HAS_FIELD = 'has_field' |
const | IS_PRIMARY = 'is_primary' |
const | IS_NOTNULL = 'is_notnull' |
const | FIELDTYPE = 'fieldtype' |
const | LENGTH = 'length' |
const | SEQUENCE = 'sequence' |
const | INDEX = 'index' |
Protected Member Functions | |
initFields () | |
initRawFields (ActiveRecord $ar) | |
Static Protected Member Functions | |
static | isAllowedAttribute (string $attribute_name) |
static | checkAttributes (array $attributes) |
Protected Attributes | |
arField array | $primary_field |
array | $primary_fields = [] |
array | $raw_fields = [] |
array | $fields = [] |
Static Protected Attributes | |
static array | $prefixes = ['db', 'con'] |
static array | $protected_names = ['arConnector', 'arFieldList'] |
static array | $allowed_description_fields |
static array | $allowed_connector_fields = [self::IS_NOTNULL, self::FIELDTYPE, self::LENGTH] |
static array | $key_maps = [self::FIELDTYPE => 'type' |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class arFieldList
Definition at line 24 of file class.arFieldList.php.
arFieldList::__construct | ( | protected ActiveRecord | $activeRecord | ) |
|
staticprotected |
Definition at line 198 of file class.arFieldList.php.
|
static |
Definition at line 67 of file class.arFieldList.php.
Referenced by arField\getAttributesForConnector().
|
static |
Definition at line 75 of file class.arFieldList.php.
Referenced by arField\getAttributesForDescription().
arFieldList::getArrayForConnector | ( | ) |
Definition at line 104 of file class.arFieldList.php.
References getFields().
arFieldList::getFieldByName | ( | string | $field_name | ) |
Definition at line 128 of file class.arFieldList.php.
References getFields(), and null.
arFieldList::getFields | ( | ) |
Definition at line 224 of file class.arFieldList.php.
References $fields.
Referenced by getArrayForConnector(), getFieldByName(), and isField().
|
static |
Definition at line 80 of file class.arFieldList.php.
References initRawFields().
Referenced by arFieldCache\store(), and ilServicesActiveRecordFieldTest\testFieldList().
|
static |
Definition at line 92 of file class.arFieldList.php.
References initRawFields().
Referenced by arFieldCache\storeFromStorage().
arFieldList::getPrimaryField | ( | ) |
Definition at line 237 of file class.arFieldList.php.
References $primary_field.
Referenced by getPrimaryFieldName(), and getPrimaryFieldType().
arFieldList::getPrimaryFieldName | ( | ) |
Definition at line 158 of file class.arFieldList.php.
References getPrimaryField().
arFieldList::getPrimaryFields | ( | ) |
arFieldList::getPrimaryFieldType | ( | ) |
Definition at line 163 of file class.arFieldList.php.
References getPrimaryField().
arFieldList::getRawFields | ( | ) |
Definition at line 253 of file class.arFieldList.php.
References $raw_fields.
Referenced by initFields().
|
protected |
Definition at line 114 of file class.arFieldList.php.
References getRawFields(), and setPrimaryField().
|
protected |
Definition at line 168 of file class.arFieldList.php.
References setRawFields().
Referenced by getInstance(), and getInstanceFromStorage().
|
staticprotected |
Definition at line 193 of file class.arFieldList.php.
arFieldList::isField | ( | string | $field_name | ) |
Definition at line 146 of file class.arFieldList.php.
References getFields().
|
static |
Definition at line 59 of file class.arFieldList.php.
Referenced by arBuilder\generateDBUpdateForInstallation(), arField\getAttributesForConnector(), and arField\getAttributesForDescription().
arFieldList::setFields | ( | array | $fields | ) |
arFieldList::setPrimaryField | ( | \arField | $arField | ) |
Definition at line 229 of file class.arFieldList.php.
Referenced by initFields().
arFieldList::setPrimaryFields | ( | array | $primary_fields | ) |
mixed[] | $primary_fields |
Definition at line 261 of file class.arFieldList.php.
References $primary_fields.
arFieldList::setRawFields | ( | array | $raw_fields | ) |
mixed[] | $raw_fields |
Definition at line 245 of file class.arFieldList.php.
References $raw_fields.
Referenced by initRawFields().
|
staticprotected |
Definition at line 45 of file class.arFieldList.php.
|
staticprotected |
Definition at line 35 of file class.arFieldList.php.
|
protected |
Definition at line 49 of file class.arFieldList.php.
Referenced by getFields(), and setFields().
|
staticprotected |
Definition at line 50 of file class.arFieldList.php.
|
staticprotected |
Definition at line 33 of file class.arFieldList.php.
|
protected |
Definition at line 46 of file class.arFieldList.php.
Referenced by getPrimaryField().
|
protected |
Definition at line 47 of file class.arFieldList.php.
Referenced by getPrimaryFields(), and setPrimaryFields().
|
staticprotected |
Definition at line 34 of file class.arFieldList.php.
|
protected |
Definition at line 48 of file class.arFieldList.php.
Referenced by getRawFields(), and setRawFields().
const arFieldList::FIELDTYPE = 'fieldtype' |
Definition at line 29 of file class.arFieldList.php.
Referenced by arField\isAllowedAttribute(), and arConverter\returnAttributesForField().
const arFieldList::HAS_FIELD = 'has_field' |
Definition at line 26 of file class.arFieldList.php.
Referenced by arField\isAllowedAttribute(), and arConverter\returnAttributesForField().
const arFieldList::INDEX = 'index' |
Definition at line 32 of file class.arFieldList.php.
const arFieldList::IS_NOTNULL = 'is_notnull' |
Definition at line 28 of file class.arFieldList.php.
Referenced by arConverter\returnAttributesForField().
const arFieldList::IS_PRIMARY = 'is_primary' |
Definition at line 27 of file class.arFieldList.php.
Referenced by arConverter\returnAttributesForField().
const arFieldList::LENGTH = 'length' |
Definition at line 30 of file class.arFieldList.php.
Referenced by arConverter\returnAttributesForField().
const arFieldList::SEQUENCE = 'sequence' |
Definition at line 31 of file class.arFieldList.php.