Class arField.
More...
◆ getAttributesForConnector()
arField::getAttributesForConnector |
( |
| ) |
|
◆ getAttributesForDescription()
arField::getAttributesForDescription |
( |
| ) |
|
◆ getFieldType()
arField::getFieldType |
( |
| ) |
|
◆ getHasField()
◆ getIndex()
◆ getLength()
◆ getName()
◆ getNotNull()
◆ getPrimary()
◆ getSequence()
◆ isAllowedAttribute()
static arField::isAllowedAttribute |
( |
string |
$type, |
|
|
string |
$field_name |
|
) |
| |
|
static |
◆ isDateField()
◆ isDateFieldType()
static arField::isDateFieldType |
( |
|
$field_type | ) |
|
|
static |
Definition at line 227 of file class.arField.php.
229 return in_array($field_type, self::$date_fields,
true);
◆ loadFromArray()
arField::loadFromArray |
( |
string |
$name, |
|
|
array |
$array |
|
) |
| |
◆ loadFromStdClass()
arField::loadFromStdClass |
( |
string |
$name, |
|
|
stdClass |
$stdClass |
|
) |
| |
◆ setFieldType()
arField::setFieldType |
( |
string |
$field_type | ) |
|
◆ setHasField()
arField::setHasField |
( |
bool |
$has_field | ) |
|
◆ setIndex()
arField::setIndex |
( |
bool |
$index | ) |
|
◆ setLength()
arField::setLength |
( |
int |
$length | ) |
|
◆ setName()
arField::setName |
( |
string |
$name | ) |
|
◆ setNotNull()
arField::setNotNull |
( |
bool |
$not_null | ) |
|
◆ setPrimary()
arField::setPrimary |
( |
bool |
$primary | ) |
|
◆ setSequence()
arField::setSequence |
( |
bool |
$sequence | ) |
|
◆ $allowed_attributes
array arField::$allowed_attributes |
|
staticprotected |
Initial value:= array(
self::FIELD_TYPE_TEXT => array(
),
self::FIELD_TYPE_INTEGER => array(
),
self::FIELD_TYPE_FLOAT => array(
),
self::FIELD_TYPE_DATE => array(
),
self::FIELD_TYPE_TIME => array(
),
self::FIELD_TYPE_TIMESTAMP => array(
),
self::FIELD_TYPE_CLOB => array(
),
)
Definition at line 30 of file class.arField.php.
◆ $date_fields
array arField::$date_fields |
|
staticprotected |
Initial value:= array(
self::FIELD_TYPE_DATE,
self::FIELD_TYPE_TIME,
self::FIELD_TYPE_TIMESTAMP
)
Definition at line 58 of file class.arField.php.
◆ $fieldtype
string arField::$fieldtype |
|
protected |
◆ $has_field
bool arField::$has_field = false |
|
protected |
◆ $index
bool arField::$index = false |
|
protected |
◆ $is_primary
bool arField::$is_primary = false |
|
protected |
◆ $length
int arField::$length = null |
|
protected |
◆ $name
string arField::$name = '' |
|
protected |
◆ $not_null
bool arField::$not_null = false |
|
protected |
◆ $sequence
bool arField::$sequence = false |
|
protected |
◆ FIELD_TYPE_CLOB
const arField::FIELD_TYPE_CLOB = 'clob' |
◆ FIELD_TYPE_DATE
const arField::FIELD_TYPE_DATE = 'date' |
◆ FIELD_TYPE_FLOAT
const arField::FIELD_TYPE_FLOAT = 'float' |
◆ FIELD_TYPE_INTEGER
const arField::FIELD_TYPE_INTEGER = 'integer' |
◆ FIELD_TYPE_TEXT
const arField::FIELD_TYPE_TEXT = 'text' |
◆ FIELD_TYPE_TIME
const arField::FIELD_TYPE_TIME = 'time' |
◆ FIELD_TYPE_TIMESTAMP
const arField::FIELD_TYPE_TIMESTAMP = 'timestamp' |
The documentation for this class was generated from the following file: