ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
Class arFieldList. More...
Public Member Functions | |
__construct (ActiveRecord $ar) | |
arFieldList constructor. More... | |
getArrayForConnector () | |
getFieldByName (string $field_name) | |
isField (string $field_name) | |
getPrimaryFieldName () | |
getPrimaryFieldType () | |
setFields (array $fields) | |
getFields () | |
setPrimaryField (\arField $primary_field) | |
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 $ar) |
static | getInstanceFromStorage (\ActiveRecord $ar) |
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 | |
$primary_field | |
array | $primary_fields = array() |
array | $raw_fields = array() |
array | $fields = array() |
ActiveRecord | $ar |
Static Protected Attributes | |
static array | $prefixes = array('db', 'con') |
static array | $protected_names = array('arConnector', 'arFieldList') |
static array | $allowed_description_fields |
static array | $allowed_connector_fields |
static array | $key_maps |
arFieldList::__construct | ( | ActiveRecord | $ar | ) |
|
staticprotected |
Definition at line 204 of file class.arFieldList.php.
|
static |
Definition at line 77 of file class.arFieldList.php.
Referenced by arField\getAttributesForConnector().
|
static |
Definition at line 82 of file class.arFieldList.php.
Referenced by arField\getAttributesForDescription().
arFieldList::getArrayForConnector | ( | ) |
Definition at line 109 of file class.arFieldList.php.
References getFields().
arFieldList::getFieldByName | ( | string | $field_name | ) |
Definition at line 133 of file class.arFieldList.php.
References getFields().
arFieldList::getFields | ( | ) |
Definition at line 230 of file class.arFieldList.php.
References $fields.
Referenced by getArrayForConnector(), getFieldByName(), and isField().
|
static |
Definition at line 87 of file class.arFieldList.php.
References $ar, and initRawFields().
Referenced by arFieldCache\store(), and ilServicesActiveRecordFieldTest\tearDown().
|
static |
Definition at line 99 of file class.arFieldList.php.
References $ar, and initRawFields().
Referenced by arFieldCache\storeFromStorage().
arFieldList::getPrimaryField | ( | ) |
Definition at line 243 of file class.arFieldList.php.
References $primary_field.
Referenced by getPrimaryFieldName(), and getPrimaryFieldType().
arFieldList::getPrimaryFieldName | ( | ) |
Definition at line 164 of file class.arFieldList.php.
References getPrimaryField().
arFieldList::getPrimaryFields | ( | ) |
arFieldList::getPrimaryFieldType | ( | ) |
Definition at line 169 of file class.arFieldList.php.
References getPrimaryField().
arFieldList::getRawFields | ( | ) |
Definition at line 256 of file class.arFieldList.php.
References $raw_fields.
Referenced by initFields().
|
protected |
Definition at line 119 of file class.arFieldList.php.
References $attributes, fields, getRawFields(), and setPrimaryField().
|
protected |
Definition at line 174 of file class.arFieldList.php.
References setRawFields().
Referenced by getInstance(), and getInstanceFromStorage().
|
staticprotected |
Definition at line 199 of file class.arFieldList.php.
arFieldList::isField | ( | string | $field_name | ) |
Definition at line 152 of file class.arFieldList.php.
References getFields().
|
static |
Definition at line 67 of file class.arFieldList.php.
References ILIAS\LTI\ToolProvider\$key.
Referenced by arBuilder\generateDBUpdateForInstallation(), arField\getAttributesForConnector(), and arField\getAttributesForDescription().
arFieldList::setFields | ( | array | $fields | ) |
arFieldList::setPrimaryField | ( | \arField | $primary_field | ) |
Definition at line 235 of file class.arFieldList.php.
References $primary_field.
Referenced by initFields().
arFieldList::setPrimaryFields | ( | array | $primary_fields | ) |
arFieldList::setRawFields | ( | array | $raw_fields | ) |
mixed[] | $raw_fields |
Definition at line 251 of file class.arFieldList.php.
References $raw_fields.
Referenced by initRawFields().
|
staticprotected |
Definition at line 41 of file class.arFieldList.php.
|
staticprotected |
Definition at line 32 of file class.arFieldList.php.
|
protected |
Definition at line 53 of file class.arFieldList.php.
Referenced by __construct(), getInstance(), and getInstanceFromStorage().
|
protected |
Definition at line 52 of file class.arFieldList.php.
Referenced by getFields(), and setFields().
|
staticprotected |
Definition at line 54 of file class.arFieldList.php.
|
staticprotected |
Definition at line 30 of file class.arFieldList.php.
|
protected |
Definition at line 49 of file class.arFieldList.php.
Referenced by getPrimaryField(), and setPrimaryField().
|
protected |
Definition at line 50 of file class.arFieldList.php.
Referenced by getPrimaryFields(), and setPrimaryFields().
|
staticprotected |
Definition at line 31 of file class.arFieldList.php.
|
protected |
Definition at line 51 of file class.arFieldList.php.
Referenced by getRawFields(), and setRawFields().
const arFieldList::FIELDTYPE = 'fieldtype' |
Definition at line 26 of file class.arFieldList.php.
Referenced by arField\isAllowedAttribute(), and arConverter\returnAttributesForField().
const arFieldList::HAS_FIELD = 'has_field' |
Definition at line 23 of file class.arFieldList.php.
Referenced by arField\isAllowedAttribute(), and arConverter\returnAttributesForField().
const arFieldList::INDEX = 'index' |
Definition at line 29 of file class.arFieldList.php.
const arFieldList::IS_NOTNULL = 'is_notnull' |
Definition at line 25 of file class.arFieldList.php.
Referenced by arConverter\returnAttributesForField().
const arFieldList::IS_PRIMARY = 'is_primary' |
Definition at line 24 of file class.arFieldList.php.
Referenced by arConverter\returnAttributesForField().
const arFieldList::LENGTH = 'length' |
Definition at line 27 of file class.arFieldList.php.
Referenced by arConverter\returnAttributesForField().
const arFieldList::SEQUENCE = 'sequence' |
Definition at line 28 of file class.arFieldList.php.