29 self::FIELD_TYPE_INTEGER =>
array(
36 self::FIELD_TYPE_FLOAT =>
array(
39 self::FIELD_TYPE_DATE =>
array(
42 self::FIELD_TYPE_TIME =>
array(
45 self::FIELD_TYPE_TIMESTAMP =>
array(
48 self::FIELD_TYPE_CLOB =>
array(
56 self::FIELD_TYPE_DATE,
57 self::FIELD_TYPE_TIME,
58 self::FIELD_TYPE_TIMESTAMP
68 foreach ($array as $key => $value) {
74 $this->{$key} =
false;
77 $this->{$key} = $value;
89 $array = (
array)$stdClass;
100 if (isset($this->{$field_name}) && $this->{$field_name} AND self::isAllowedAttribute($this->
getFieldType(), $field_name)) {
115 if ($this->{$field_name} AND self::isAllowedAttribute($this->
getFieldType(), $field_name)) {
174 $this->fieldtype = $field_type;
254 $this->is_primary = $primary;
325 return in_array($field_name, self::$allowed_attributes[$type]);
335 return in_array($field_type, self::$date_fields);
static getAllowedConnectorFields()
static isAllowedAttribute($type, $field_name)
loadFromArray($name, array $array)
static $allowed_attributes
const FIELD_TYPE_TIMESTAMP
loadFromStdClass($name, stdClass $stdClass)
Create styles array
The data for the language used.
setFieldType($field_type)
static getAllowedDescriptionFields()
getAttributesForConnector()
getAttributesForDescription()
static isDateFieldType($field_type)