28 self::FIELD_TYPE_INTEGER => array(
34 self::FIELD_TYPE_FLOAT => array(
37 self::FIELD_TYPE_DATE => array(
40 self::FIELD_TYPE_TIME => array(
43 self::FIELD_TYPE_TIMESTAMP => array(
46 self::FIELD_TYPE_CLOB => array(
54 self::FIELD_TYPE_DATE,
55 self::FIELD_TYPE_TIME,
56 self::FIELD_TYPE_TIMESTAMP
67 foreach ($array as $key => $value) {
73 $this->{$key} =
false;
76 $this->{$key} = $value;
89 $array = (array) $stdClass;
174 $this->fieldtype = $field_type;
264 $this->is_primary = $primary;
325 return in_array($field_name, self::$allowed_attributes[
$type]);
336 return in_array($field_type, self::$date_fields);
An exception for terminatinating execution or to throw for unit testing.
static getAllowedDescriptionFields()
static getAllowedConnectorFields()
loadFromArray($name, array $array)
static isAllowedAttribute($type, $field_name)
const FIELD_TYPE_TIMESTAMP
static isDateFieldType($field_type)
static $allowed_attributes
getAttributesForDescription()
setFieldType($field_type)
loadFromStdClass($name, stdClass $stdClass)
getAttributesForConnector()