This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
More...
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
- Author
- Fabian Schmid fs@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch
- Version
- 2.0.7
Definition at line 24 of file class.arField.php.
◆ 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 211 of file class.arField.php.
213 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:= [
self::FIELD_TYPE_TEXT => [
]
Definition at line 35 of file class.arField.php.
◆ $date_fields
array arField::$date_fields = [self::FIELD_TYPE_DATE, self::FIELD_TYPE_TIME, self::FIELD_TYPE_TIMESTAMP] |
|
staticprotected |
◆ $fieldtype
string arField::$fieldtype |
|
protected |
◆ $has_field
bool arField::$has_field = false |
|
protected |
◆ $index
bool arField::$index = false |
|
protected |
◆ $is_notnull
bool arField::$is_notnull = false |
|
protected |
◆ $is_primary
bool arField::$is_primary = false |
|
protected |
◆ $is_unique
bool arField::$is_unique = false |
|
protected |
◆ $length
int arField::$length = null |
|
protected |
◆ $name
string arField::$name = '' |
|
protected |
◆ $not_null
◆ $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: