ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class arFieldList. More...
Public Member Functions | |
__construct (ActiveRecord $ar) | |
arFieldList constructor. More... | |
getArrayForConnector () | |
getFieldByName ($field_name) | |
isField ($field_name) | |
getPrimaryFieldName () | |
getPrimaryFieldType () | |
setFields ($fields) | |
getFields () | |
setPrimaryField ($primary_field) | |
getPrimaryField () | |
setRawFields ($raw_fields) | |
getRawFields () | |
setPrimaryFields ($primary_fields) | |
getPrimaryFields () | |
Static Public Member Functions | |
static | mapKey ($key) |
static | getAllowedConnectorFields () |
static | getAllowedDescriptionFields () |
static | getInstance (ActiveRecord $ar) |
static | getInstanceFromStorage ($ar) |
Data Fields | |
const | HAS_FIELD = 'has_field' |
const | IS_UNIQUE = 'is_unique' |
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 (arStorageInterface $ar) | |
Static Protected Member Functions | |
static | isAllowedAttribute ($attribute_name) |
static | checkAttributes (array $attributes) |
Protected Attributes | |
$primary_field | |
$primary_fields = array() | |
$raw_fields = array() | |
$fields = array() | |
$ar | |
Static Protected Attributes | |
static | $prefixes = array( 'db', 'con' ) |
static | $protected_names = array( 'arConnector', 'arFieldList' ) |
static | $allowed_description_fields |
static | $allowed_connector_fields |
static | $key_maps |
arFieldList::__construct | ( | ActiveRecord | $ar | ) |
arFieldList constructor.
ActiveRecord | $ar |
Definition at line 83 of file class.arFieldList.php.
References $ar.
|
staticprotected |
|
static |
Definition at line 107 of file class.arFieldList.php.
Referenced by arField\getAttributesForConnector().
|
static |
Definition at line 116 of file class.arFieldList.php.
Referenced by arField\getAttributesForDescription().
arFieldList::getArrayForConnector | ( | ) |
Definition at line 157 of file class.arFieldList.php.
References array, and getFields().
arFieldList::getFieldByName | ( | $field_name | ) |
$field_name |
Definition at line 189 of file class.arFieldList.php.
References getFields().
arFieldList::getFields | ( | ) |
Definition at line 318 of file class.arFieldList.php.
References $fields.
Referenced by getArrayForConnector(), getFieldByName(), and isField().
|
static |
ActiveRecord | $ar |
Definition at line 128 of file class.arFieldList.php.
References $ar.
Referenced by arFieldCache\store().
|
static |
ActiveRecord | $ar |
Definition at line 144 of file class.arFieldList.php.
References $ar.
Referenced by arFieldCache\storeFromStorage().
arFieldList::getPrimaryField | ( | ) |
Definition at line 336 of file class.arFieldList.php.
References $primary_field.
Referenced by getPrimaryFieldName(), and getPrimaryFieldType().
arFieldList::getPrimaryFieldName | ( | ) |
Definition at line 228 of file class.arFieldList.php.
References getPrimaryField().
arFieldList::getPrimaryFields | ( | ) |
arFieldList::getPrimaryFieldType | ( | ) |
Definition at line 237 of file class.arFieldList.php.
References getPrimaryField().
arFieldList::getRawFields | ( | ) |
Definition at line 354 of file class.arFieldList.php.
References $raw_fields.
Referenced by initFields().
|
protected |
Definition at line 168 of file class.arFieldList.php.
References $attributes, fields, getRawFields(), and setPrimaryField().
|
protected |
\ActiveRecord | \arStorageInterface | $ar |
Definition at line 248 of file class.arFieldList.php.
References $raw_fields, array, setRawFields(), and string.
|
staticprotected |
$attribute_name |
Definition at line 279 of file class.arFieldList.php.
References array.
arFieldList::isField | ( | $field_name | ) |
$field_name |
Definition at line 212 of file class.arFieldList.php.
References getFields().
|
static |
$key |
Definition at line 94 of file class.arFieldList.php.
References $key.
Referenced by arBuilder\generateDBUpdateForInstallation(), arField\getAttributesForConnector(), and arField\getAttributesForDescription().
arFieldList::setFields | ( | $fields | ) |
array | $fields |
Definition at line 309 of file class.arFieldList.php.
References $fields, and fields.
arFieldList::setPrimaryField | ( | $primary_field | ) |
\arField | $primary_field |
Definition at line 327 of file class.arFieldList.php.
References $primary_field.
Referenced by initFields().
arFieldList::setPrimaryFields | ( | $primary_fields | ) |
array | $primary_fields |
Definition at line 363 of file class.arFieldList.php.
References $primary_fields.
arFieldList::setRawFields | ( | $raw_fields | ) |
array | $raw_fields |
Definition at line 345 of file class.arFieldList.php.
References $raw_fields.
Referenced by initRawFields().
|
staticprotected |
Definition at line 44 of file class.arFieldList.php.
|
staticprotected |
Definition at line 32 of file class.arFieldList.php.
|
protected |
Definition at line 68 of file class.arFieldList.php.
Referenced by __construct(), getInstance(), and getInstanceFromStorage().
|
protected |
Definition at line 64 of file class.arFieldList.php.
Referenced by getFields(), and setFields().
|
staticprotected |
Definition at line 72 of file class.arFieldList.php.
|
staticprotected |
Definition at line 24 of file class.arFieldList.php.
|
protected |
Definition at line 52 of file class.arFieldList.php.
Referenced by getPrimaryField(), and setPrimaryField().
|
protected |
Definition at line 56 of file class.arFieldList.php.
Referenced by getPrimaryFields(), and setPrimaryFields().
|
staticprotected |
Definition at line 28 of file class.arFieldList.php.
|
protected |
Definition at line 60 of file class.arFieldList.php.
Referenced by getRawFields(), initRawFields(), and setRawFields().
const arFieldList::FIELDTYPE = 'fieldtype' |
Definition at line 17 of file class.arFieldList.php.
Referenced by arField\isAllowedAttribute(), and arConverter\returnAttributesForField().
const arFieldList::HAS_FIELD = 'has_field' |
Definition at line 13 of file class.arFieldList.php.
Referenced by arField\isAllowedAttribute(), and arConverter\returnAttributesForField().
const arFieldList::INDEX = 'index' |
Definition at line 20 of file class.arFieldList.php.
const arFieldList::IS_NOTNULL = 'is_notnull' |
Definition at line 16 of file class.arFieldList.php.
Referenced by arConverter\returnAttributesForField().
const arFieldList::IS_PRIMARY = 'is_primary' |
Definition at line 15 of file class.arFieldList.php.
Referenced by arConverter\returnAttributesForField().
const arFieldList::IS_UNIQUE = 'is_unique' |
Definition at line 14 of file class.arFieldList.php.
Referenced by arConverter\returnAttributesForField().
const arFieldList::LENGTH = 'length' |
Definition at line 18 of file class.arFieldList.php.
Referenced by arConverter\returnAttributesForField().
const arFieldList::SEQUENCE = 'sequence' |
Definition at line 19 of file class.arFieldList.php.