ILIAS
trunk Revision v11.0_alpha-1769-g99a433fe2dc
|
Class ilMMItemStorage. More...
Public Member Functions | |
create () | |
getIdentification () | |
setIdentification (string $identification) | |
isActive () | |
setActive (bool $active) | |
getPosition () | |
setPosition (int $position) | |
getParentIdentification () | |
setParentIdentification (string $parent_identification) | |
getIconId () | |
setIconId (string $icon_id) | |
![]() | |
getCacheIdentifier () | |
getTTL () | |
__construct (mixed $primary_key=0, ?arConnector $arConnector=null) | |
afterObjectLoad () | |
create () | |
read () | |
update () | |
delete () | |
![]() | |
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 | register (isItem $item) |
![]() | |
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 | |
string | $identification = null |
true true true text 64 More... | |
bool | $active = true |
true integer 1 More... | |
int | $position = 0 |
true integer 4 More... | |
string | $parent_identification = '' |
true text 256 More... | |
string | $icon_id = '' |
true text 256 More... | |
string | $connector_container_name = "il_mm_items" |
![]() | |
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) |
Class ilMMItemStorage.
Definition at line 30 of file class.ilMMItemStorage.php.
ilMMItemStorage::create | ( | ) |
Definition at line 62 of file class.ilMMItemStorage.php.
References getIdentification(), null, and CachedActiveRecord\update().
ilMMItemStorage::getIconId | ( | ) |
Definition at line 185 of file class.ilMMItemStorage.php.
References $icon_id, and null.
ilMMItemStorage::getIdentification | ( | ) |
Definition at line 113 of file class.ilMMItemStorage.php.
References $identification.
Referenced by create().
ilMMItemStorage::getParentIdentification | ( | ) |
Definition at line 167 of file class.ilMMItemStorage.php.
References $parent_identification.
ilMMItemStorage::getPosition | ( | ) |
ilMMItemStorage::isActive | ( | ) |
|
static |
isItem | $item |
Definition at line 37 of file class.ilMMItemStorage.php.
References null.
Referenced by ilMMItemRepository\__construct(), ilMMAbstractItemFacade\__construct(), ilMMAbstractItemFacade\create(), and ILIAS\MainMenu\Provider\CustomMainBarProvider\getSingleCustomItem().
ilMMItemStorage::setActive | ( | bool | $active | ) |
bool | $active |
Definition at line 140 of file class.ilMMItemStorage.php.
References $active.
ilMMItemStorage::setIconId | ( | string | $icon_id | ) |
string | $icon_id |
Definition at line 196 of file class.ilMMItemStorage.php.
References $icon_id.
ilMMItemStorage::setIdentification | ( | string | $identification | ) |
string | $identification |
Definition at line 122 of file class.ilMMItemStorage.php.
References $identification.
ilMMItemStorage::setParentIdentification | ( | string | $parent_identification | ) |
string | $parent_identification |
Definition at line 176 of file class.ilMMItemStorage.php.
References $parent_identification.
ilMMItemStorage::setPosition | ( | int | $position | ) |
int | $position |
Definition at line 158 of file class.ilMMItemStorage.php.
References $position.
|
protected |
true integer 1
Definition at line 85 of file class.ilMMItemStorage.php.
Referenced by isActive(), and setActive().
|
protected |
Definition at line 107 of file class.ilMMItemStorage.php.
|
protected |
true text 256
Definition at line 103 of file class.ilMMItemStorage.php.
Referenced by getIconId(), and setIconId().
|
protected |
true true true text 64
Definition at line 79 of file class.ilMMItemStorage.php.
Referenced by getIdentification(), and setIdentification().
|
protected |
true text 256
Definition at line 97 of file class.ilMMItemStorage.php.
Referenced by getParentIdentification(), and setParentIdentification().
|
protected |
true integer 4
Definition at line 91 of file class.ilMMItemStorage.php.
Referenced by getPosition(), and setPosition().