ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
loadFromArray ($name, array $array) | |
loadFromStdClass ($name, stdClass $stdClass) | |
getAttributesForConnector () | |
getAttributesForDescription () | |
isDateField () | |
setFieldType ($field_type) | |
getFieldType () | |
setHasField ($has_field) | |
getHasField () | |
setLength ($length) | |
getLength () | |
setName ($name) | |
getName () | |
setNotNull ($not_null) | |
getNotNull () | |
setPrimary ($primary) | |
getPrimary () | |
setUnique ($unique) | |
getUnique () | |
setSequence ($sequence) | |
getSequence () | |
setIndex ($index) | |
getIndex () |
Static Public Member Functions | |
static | isAllowedAttribute ($type, $field_name) |
static | isDateFieldType ($field_type) |
Data Fields | |
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 | |
$fieldtype | |
$length = NULL | |
$is_primary = false | |
$name = '' | |
$not_null = false | |
$unique = false | |
$has_field = false | |
$sequence = false | |
$index = false |
Static Protected Attributes | |
static | $allowed_attributes |
static | $date_fields |
arField::getAttributesForConnector | ( | ) |
Definition at line 97 of file class.arField.php.
References arFieldList\getAllowedConnectorFields(), getFieldType(), isAllowedAttribute(), and arFieldList\mapKey().
arField::getAttributesForDescription | ( | ) |
Definition at line 112 of file class.arField.php.
References arFieldList\getAllowedDescriptionFields(), getFieldType(), isAllowedAttribute(), and arFieldList\mapKey().
arField::getFieldType | ( | ) |
Definition at line 181 of file class.arField.php.
References $fieldtype.
Referenced by arIndexTableGUI\addFilterField(), arEditGUI\addFormField(), getAttributesForConnector(), getAttributesForDescription(), isDateField(), arDisplayGUI\setArFieldData(), and arIndexTableGUI\setArFieldData().
arField::getHasField | ( | ) |
arField::getIndex | ( | ) |
arField::getLength | ( | ) |
arField::getName | ( | ) |
Definition at line 229 of file class.arField.php.
References $name.
Referenced by arViewField\__construct(), arEditGUI\addBooleanInputField(), arEditGUI\addClobInputField(), arEditGUI\addDateTimeInputField(), arViewFields\addField(), arIndexTableGUI\addFilterField(), arEditGUI\addNumbericInputField(), arEditGUI\addTextInputField(), arViewField\castFromFieldToViewField(), arIndexTableGUI\checkColumnVisibile(), arViewField\getTxt(), arEditGUI\setDateTimeRecordField(), arEditGUI\setNumericRecordField(), and arEditGUI\setTextRecordField().
arField::getNotNull | ( | ) |
Definition at line 245 of file class.arField.php.
References $not_null.
Referenced by arEditGUI\addFormField().
arField::getPrimary | ( | ) |
arField::getSequence | ( | ) |
arField::getUnique | ( | ) |
|
static |
$type | |
$field_name |
Definition at line 320 of file class.arField.php.
References arFieldList\FIELDTYPE, and arFieldList\HAS_FIELD.
Referenced by getAttributesForConnector(), and getAttributesForDescription().
arField::isDateField | ( | ) |
Definition at line 127 of file class.arField.php.
References getFieldType(), and isDateFieldType().
|
static |
$field_type |
Definition at line 334 of file class.arField.php.
Referenced by isDateField().
arField::loadFromArray | ( | $name, | |
array | $array | ||
) |
$name | ||
array | $array |
Definition at line 66 of file class.arField.php.
References $name, and setName().
Referenced by loadFromStdClass().
arField::loadFromStdClass | ( | $name, | |
stdClass | $stdClass | ||
) |
$name | ||
stdClass | $stdClass |
Definition at line 88 of file class.arField.php.
References $name, and loadFromArray().
arField::setFieldType | ( | $field_type | ) |
mixed | $field_type |
Definition at line 173 of file class.arField.php.
arField::setHasField | ( | $has_field | ) |
boolean | $has_field |
Definition at line 189 of file class.arField.php.
References $has_field.
arField::setIndex | ( | $index | ) |
arField::setLength | ( | $length | ) |
arField::setName | ( | $name | ) |
string | $name |
Definition at line 221 of file class.arField.php.
References $name.
Referenced by loadFromArray().
arField::setNotNull | ( | $not_null | ) |
arField::setPrimary | ( | $primary | ) |
boolean | $primary |
Definition at line 253 of file class.arField.php.
arField::setSequence | ( | $sequence | ) |
arField::setUnique | ( | $unique | ) |
|
staticprotected |
Definition at line 22 of file class.arField.php.
Referenced by arViewField\getAllowedAttributes(), and arViewField\setAllowedAttributes().
|
staticprotected |
Definition at line 55 of file class.arField.php.
|
protected |
Definition at line 135 of file class.arField.php.
Referenced by getFieldType().
|
protected |
Definition at line 159 of file class.arField.php.
Referenced by getHasField(), and setHasField().
|
protected |
Definition at line 167 of file class.arField.php.
Referenced by getIndex(), and setIndex().
|
protected |
Definition at line 143 of file class.arField.php.
Referenced by getPrimary().
|
protected |
Definition at line 139 of file class.arField.php.
Referenced by getLength(), and setLength().
|
protected |
Definition at line 147 of file class.arField.php.
Referenced by arIndexTableField\__construct(), arViewField\__construct(), arViewField\castFromFieldToViewField(), getName(), loadFromArray(), loadFromStdClass(), and setName().
|
protected |
Definition at line 151 of file class.arField.php.
Referenced by getNotNull(), and setNotNull().
|
protected |
Definition at line 163 of file class.arField.php.
Referenced by getSequence(), and setSequence().
|
protected |
Definition at line 155 of file class.arField.php.
Referenced by getUnique(), and setUnique().
const arField::FIELD_TYPE_CLOB = 'clob' |
Definition at line 18 of file class.arField.php.
const arField::FIELD_TYPE_DATE = 'date' |
Definition at line 15 of file class.arField.php.
Referenced by ilADTActiveRecordWrapper\getActiveRecordFieldTypeFromMDB2().
const arField::FIELD_TYPE_FLOAT = 'float' |
Definition at line 14 of file class.arField.php.
Referenced by ilADTActiveRecordWrapper\getActiveRecordFieldTypeFromMDB2().
const arField::FIELD_TYPE_INTEGER = 'integer' |
Definition at line 13 of file class.arField.php.
Referenced by arBuilder\generateDBUpdateForInstallation(), and ilADTActiveRecordWrapper\getActiveRecordFieldTypeFromMDB2().
const arField::FIELD_TYPE_TEXT = 'text' |
Definition at line 12 of file class.arField.php.
Referenced by ilADTTextActiveRecordBridge\getActiveRecordFields().
const arField::FIELD_TYPE_TIME = 'time' |
Definition at line 16 of file class.arField.php.
const arField::FIELD_TYPE_TIMESTAMP = 'timestamp' |
Definition at line 17 of file class.arField.php.
Referenced by ilADTActiveRecordWrapper\getActiveRecordFieldTypeFromMDB2().