ILIAS
trunk Revision v11.0_alpha-1769-g99a433fe2dc
|
Public Member Functions | |
__construct (?int $primary_key=0) | |
ilDclFieldProperty constructor. More... | |
getId () | |
setId (int $id) | |
getFieldId () | |
setFieldId (int $field_id) | |
getName () | |
setName (string $name) | |
getValue () | |
setValue ($value) | |
create () | |
update () | |
afterObjectLoad () | |
serializeData ($value) | |
Serialize data before storing to db. More... | |
deserializeData (string $value) | |
Deserialize data before applying to field. More... | |
![]() | |
getArConnector () | |
getArFieldList () | |
getConnectorContainerName () | |
Return the Name of your Connector Table More... | |
setConnectorContainerName (string $connector_container_name) | |
getPrimaryFieldValue () | |
setPrimaryFieldValue ($value) | |
__construct (mixed $primary_key=0) | |
storeObjectToCache () | |
asStdClass () | |
asArray () | |
buildFromArray (array $array) | |
fixDateField ($field_name, string $value) | |
sleep ($field_name) | |
wakeUp ($field_name, $field_value) | |
getArrayForConnector () | |
installConnector () | |
store () | |
save () | |
create () | |
copy (int $new_id=0) | |
afterObjectLoad () | |
read () | |
update () | |
delete () | |
__call ($name, $arguments) | |
Static Public Member Functions | |
static | returnDbTableName () |
Return the Name of your Database Table More... | |
![]() | |
static | returnDbTableName () |
static | installDB () |
static | renameDBField (string $old_name, string $new_name) |
static | tableExists () |
static | fieldExists (string $field_name) |
static | removeDBField (string $field_name) |
static | updateDB () |
static | resetDB () |
static | truncateDB () |
static | flushDB () |
never use in ILIAS Core, Plugins only More... | |
static | preloadObjects () |
static | additionalParams (array $additional_params) |
static | findOrFail ($primary_key, array $add_constructor_args=[]) |
Tries to find the object and throws an Exception if object is not found, instead of returning null. More... | |
static | findOrGetInstance ($primary_key, array $add_constructor_args=[]) |
static | where ($where, $operator=null) |
static | innerjoinAR (ActiveRecord $activeRecord, $on_this, string $on_external, array $fields=[' *'], string $operator='=', bool $both_external=false) |
static | innerjoin (string $tablename, $on_this, string $on_external, array $fields=[' *'], string $operator='=', bool $both_external=false) |
static | leftjoin (string $tablename, $on_this, string $on_external, array $fields=[' *'], string $operator='=', bool $both_external=false) |
static | orderBy (string $orderBy, string $orderDirection='ASC') |
static | dateFormat (string $date_format='d.m.Y - H:i:s') |
static | limit (int $start, int $end) |
static | affectedRows () |
static | count () |
static | get () |
static | debug () |
static | first () |
static | getCollection () |
static | last () |
static | getFirstFromLastQuery () |
static | connector (arConnector $arConnector) |
static | raw (bool $set_raw=true) |
static | getArray (?string $key=null, string|array|null $values=null) |
static | _toCamelCase (string $str, bool $capitalise_first_char=false) |
Protected Attributes | |
int | $id |
int | $field_id = 0 |
string | $name = "" |
$value | |
![]() | |
bool | $ar_safe_read = true |
string | $connector_container_name = '' |
bool | $is_new = true |
Additional Inherited Members | |
![]() | |
installDatabase () | |
![]() | |
static | getCalledClass () |
Returns an instance of the instatiated calling active record (needs to be done in static methods) : This should be cached somehow More... | |
static | fromCamelCase (string $str) |
Definition at line 21 of file class.ilDclFieldProperty.php.
ilDclFieldProperty::__construct | ( | ?int | $primary_key = 0 | ) |
ilDclFieldProperty constructor.
Definition at line 61 of file class.ilDclFieldProperty.php.
References ILIAS\GlobalScreen\Provider\__construct().
ilDclFieldProperty::afterObjectLoad | ( | ) |
Definition at line 129 of file class.ilDclFieldProperty.php.
References deserializeData().
ilDclFieldProperty::create | ( | ) |
Definition at line 117 of file class.ilDclFieldProperty.php.
References serializeData().
ilDclFieldProperty::deserializeData | ( | string | $value | ) |
Deserialize data before applying to field.
Definition at line 151 of file class.ilDclFieldProperty.php.
References $value.
Referenced by afterObjectLoad().
ilDclFieldProperty::getFieldId | ( | ) |
ilDclFieldProperty::getId | ( | ) |
ilDclFieldProperty::getName | ( | ) |
ilDclFieldProperty::getValue | ( | ) |
|
static |
Return the Name of your Database Table
Definition at line 69 of file class.ilDclFieldProperty.php.
ilDclFieldProperty::serializeData | ( | $value | ) |
Serialize data before storing to db.
int | string | array | $value |
Definition at line 138 of file class.ilDclFieldProperty.php.
References $value.
Referenced by create(), and update().
ilDclFieldProperty::setFieldId | ( | int | $field_id | ) |
ilDclFieldProperty::setId | ( | int | $id | ) |
ilDclFieldProperty::setName | ( | string | $name | ) |
ilDclFieldProperty::setValue | ( | $value | ) |
string | array | int | $value |
Definition at line 112 of file class.ilDclFieldProperty.php.
References $value.
ilDclFieldProperty::update | ( | ) |
Definition at line 123 of file class.ilDclFieldProperty.php.
References serializeData().
|
protected |
Definition at line 41 of file class.ilDclFieldProperty.php.
Referenced by getFieldId(), and setFieldId().
|
protected |
Definition at line 33 of file class.ilDclFieldProperty.php.
|
protected |
Definition at line 49 of file class.ilDclFieldProperty.php.
|
protected |
Definition at line 56 of file class.ilDclFieldProperty.php.
Referenced by deserializeData(), getValue(), serializeData(), and setValue().