ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
loadFromArray (string $name, array $array) | |
loadFromStdClass (string $name, stdClass $stdClass) | |
getAttributesForConnector () | |
getAttributesForDescription () | |
isDateField () | |
setFieldType (string $field_type) | |
getFieldType () | |
setHasField (bool $has_field) | |
getHasField () | |
setLength (int $length) | |
getLength () | |
setName (string $name) | |
getName () | |
setNotNull (bool $not_null) | |
getNotNull () | |
setPrimary (bool $primary) | |
getPrimary () | |
setSequence (bool $sequence) | |
getSequence () | |
setIndex (bool $index) | |
getIndex () | |
Static Public Member Functions | |
static | isAllowedAttribute (string $type, string $field_name) |
static | isDateFieldType ($field_type) |
Data Fields | |
$not_null | |
const | FIELD_TYPE_TEXT = 'text' |
const | FIELD_TYPE_INTEGER = 'integer' |
const | FIELD_TYPE_FLOAT = 'float' |
const | FIELD_TYPE_DATE = 'date' |
const | FIELD_TYPE_TIME = 'time' |
const | FIELD_TYPE_TIMESTAMP = 'timestamp' |
const | FIELD_TYPE_CLOB = 'clob' |
Protected Attributes | |
bool | $is_unique = false |
string | $fieldtype |
int | $length = null |
bool | $is_primary = false |
string | $name = '' |
bool | $is_notnull = false |
bool | $has_field = false |
bool | $sequence = false |
bool | $index = false |
Static Protected Attributes | |
static array | $allowed_attributes |
static array | $date_fields = [self::FIELD_TYPE_DATE, self::FIELD_TYPE_TIME, self::FIELD_TYPE_TIMESTAMP] |
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 arField
Definition at line 24 of file class.arField.php.
arField::getAttributesForConnector | ( | ) |
Definition at line 76 of file class.arField.php.
References arFieldList\getAllowedConnectorFields(), getFieldType(), isAllowedAttribute(), and arFieldList\mapKey().
arField::getAttributesForDescription | ( | ) |
Definition at line 94 of file class.arField.php.
References arFieldList\getAllowedDescriptionFields(), getFieldType(), isAllowedAttribute(), and arFieldList\mapKey().
arField::getFieldType | ( | ) |
Definition at line 125 of file class.arField.php.
References $fieldtype.
Referenced by getAttributesForConnector(), getAttributesForDescription(), and isDateField().
arField::getHasField | ( | ) |
arField::getIndex | ( | ) |
arField::getLength | ( | ) |
arField::getName | ( | ) |
arField::getNotNull | ( | ) |
arField::getPrimary | ( | ) |
arField::getSequence | ( | ) |
|
static |
Definition at line 200 of file class.arField.php.
References arFieldList\FIELDTYPE, and arFieldList\HAS_FIELD.
Referenced by getAttributesForConnector(), and getAttributesForDescription().
arField::isDateField | ( | ) |
Definition at line 106 of file class.arField.php.
References getFieldType(), and isDateFieldType().
|
static |
Definition at line 211 of file class.arField.php.
Referenced by isDateField().
arField::loadFromArray | ( | string | $name, |
array | $array | ||
) |
Definition at line 55 of file class.arField.php.
References setName().
Referenced by loadFromStdClass().
arField::loadFromStdClass | ( | string | $name, |
stdClass | $stdClass | ||
) |
Definition at line 67 of file class.arField.php.
References loadFromArray().
arField::setFieldType | ( | string | $field_type | ) |
Definition at line 120 of file class.arField.php.
arField::setHasField | ( | bool | $has_field | ) |
Definition at line 130 of file class.arField.php.
References $has_field.
arField::setIndex | ( | bool | $index | ) |
Definition at line 190 of file class.arField.php.
References $index.
arField::setLength | ( | int | $length | ) |
Definition at line 140 of file class.arField.php.
References $length.
arField::setName | ( | string | $name | ) |
Definition at line 150 of file class.arField.php.
References $name.
Referenced by loadFromArray().
arField::setNotNull | ( | bool | $not_null | ) |
Definition at line 160 of file class.arField.php.
References $not_null.
arField::setPrimary | ( | bool | $primary | ) |
Definition at line 170 of file class.arField.php.
arField::setSequence | ( | bool | $sequence | ) |
Definition at line 180 of file class.arField.php.
References $sequence.
|
staticprotected |
Definition at line 35 of file class.arField.php.
|
staticprotected |
Definition at line 53 of file class.arField.php.
|
protected |
Definition at line 111 of file class.arField.php.
Referenced by getFieldType().
|
protected |
Definition at line 116 of file class.arField.php.
Referenced by getHasField(), and setHasField().
|
protected |
Definition at line 118 of file class.arField.php.
Referenced by getIndex(), and setIndex().
|
protected |
Definition at line 115 of file class.arField.php.
|
protected |
Definition at line 113 of file class.arField.php.
Referenced by getPrimary().
|
protected |
Definition at line 27 of file class.arField.php.
|
protected |
Definition at line 112 of file class.arField.php.
Referenced by getLength(), and setLength().
|
protected |
Definition at line 114 of file class.arField.php.
arField::$not_null |
Definition at line 26 of file class.arField.php.
Referenced by getNotNull(), and setNotNull().
|
protected |
Definition at line 117 of file class.arField.php.
Referenced by getSequence(), and setSequence().
const arField::FIELD_TYPE_CLOB = 'clob' |
Definition at line 34 of file class.arField.php.
const arField::FIELD_TYPE_DATE = 'date' |
Definition at line 31 of file class.arField.php.
const arField::FIELD_TYPE_FLOAT = 'float' |
Definition at line 30 of file class.arField.php.
const arField::FIELD_TYPE_INTEGER = 'integer' |
Definition at line 29 of file class.arField.php.
Referenced by arBuilder\generateDBUpdateForInstallation().
const arField::FIELD_TYPE_TEXT = 'text' |
Definition at line 28 of file class.arField.php.
Referenced by ilADTTextActiveRecordBridge\getActiveRecordFields().
const arField::FIELD_TYPE_TIME = 'time' |
Definition at line 32 of file class.arField.php.
const arField::FIELD_TYPE_TIMESTAMP = 'timestamp' |
Definition at line 33 of file class.arField.php.