ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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_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 82 of file class.arFieldList.php.
References $ar.
|
staticprotected |
|
static |
Definition at line 106 of file class.arFieldList.php.
Referenced by arField\getAttributesForConnector().
|
static |
Definition at line 115 of file class.arFieldList.php.
Referenced by arField\getAttributesForDescription().
arFieldList::getArrayForConnector | ( | ) |
Definition at line 156 of file class.arFieldList.php.
References getFields().
arFieldList::getFieldByName | ( | $field_name | ) |
$field_name |
Definition at line 188 of file class.arFieldList.php.
References getFields().
arFieldList::getFields | ( | ) |
Definition at line 317 of file class.arFieldList.php.
References $fields.
Referenced by getArrayForConnector(), getFieldByName(), and isField().
|
static |
ActiveRecord | $ar |
Definition at line 127 of file class.arFieldList.php.
References $ar.
Referenced by arFieldCache\store().
|
static |
ActiveRecord | $ar |
Definition at line 143 of file class.arFieldList.php.
References $ar.
Referenced by arFieldCache\storeFromStorage().
arFieldList::getPrimaryField | ( | ) |
Definition at line 335 of file class.arFieldList.php.
References $primary_field.
Referenced by getPrimaryFieldName(), and getPrimaryFieldType().
arFieldList::getPrimaryFieldName | ( | ) |
Definition at line 227 of file class.arFieldList.php.
References getPrimaryField().
arFieldList::getPrimaryFields | ( | ) |
arFieldList::getPrimaryFieldType | ( | ) |
Definition at line 236 of file class.arFieldList.php.
References getPrimaryField().
arFieldList::getRawFields | ( | ) |
Definition at line 353 of file class.arFieldList.php.
References $raw_fields.
Referenced by initFields().
|
protected |
Definition at line 167 of file class.arFieldList.php.
References $attributes, fields, getRawFields(), and setPrimaryField().
|
protected |
\ActiveRecord | \arStorageInterface | $ar |
Definition at line 247 of file class.arFieldList.php.
References $raw_fields, and setRawFields().
|
staticprotected |
arFieldList::isField | ( | $field_name | ) |
$field_name |
Definition at line 211 of file class.arFieldList.php.
References getFields().
|
static |
$key |
Definition at line 93 of file class.arFieldList.php.
References $key.
Referenced by arBuilder\generateDBUpdateForInstallation(), arField\getAttributesForConnector(), and arField\getAttributesForDescription().
arFieldList::setFields | ( | $fields | ) |
array | $fields |
Definition at line 308 of file class.arFieldList.php.
References $fields, and fields.
arFieldList::setPrimaryField | ( | $primary_field | ) |
\arField | $primary_field |
Definition at line 326 of file class.arFieldList.php.
References $primary_field.
Referenced by initFields().
arFieldList::setPrimaryFields | ( | $primary_fields | ) |
array | $primary_fields |
Definition at line 362 of file class.arFieldList.php.
References $primary_fields.
arFieldList::setRawFields | ( | $raw_fields | ) |
array | $raw_fields |
Definition at line 344 of file class.arFieldList.php.
References $raw_fields.
Referenced by initRawFields().
|
staticprotected |
Definition at line 43 of file class.arFieldList.php.
|
staticprotected |
Definition at line 31 of file class.arFieldList.php.
|
protected |
Definition at line 67 of file class.arFieldList.php.
Referenced by __construct(), getInstance(), and getInstanceFromStorage().
|
protected |
Definition at line 63 of file class.arFieldList.php.
Referenced by getFields(), and setFields().
|
staticprotected |
Definition at line 71 of file class.arFieldList.php.
|
staticprotected |
Definition at line 23 of file class.arFieldList.php.
|
protected |
Definition at line 51 of file class.arFieldList.php.
Referenced by getPrimaryField(), and setPrimaryField().
|
protected |
Definition at line 55 of file class.arFieldList.php.
Referenced by getPrimaryFields(), and setPrimaryFields().
|
staticprotected |
Definition at line 27 of file class.arFieldList.php.
|
protected |
Definition at line 59 of file class.arFieldList.php.
Referenced by getRawFields(), initRawFields(), and setRawFields().
const arFieldList::FIELDTYPE = 'fieldtype' |
Definition at line 16 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 19 of file class.arFieldList.php.
const arFieldList::IS_NOTNULL = 'is_notnull' |
Definition at line 15 of file class.arFieldList.php.
Referenced by arConverter\returnAttributesForField().
const arFieldList::IS_PRIMARY = 'is_primary' |
Definition at line 14 of file class.arFieldList.php.
Referenced by arConverter\returnAttributesForField().
const arFieldList::LENGTH = 'length' |
Definition at line 17 of file class.arFieldList.php.
Referenced by arConverter\returnAttributesForField().
const arFieldList::SEQUENCE = 'sequence' |
Definition at line 18 of file class.arFieldList.php.