ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilMMItemStorage. More...
Static Public Member Functions | |
static | register (isItem $item) |
![]() | |
static | find ($primary_key, array $add_constructor_args=array()) |
static | connector (arConnector $connector) |
![]() | |
static | returnDbTableName () |
static | installDB () |
static | renameDBField ($old_name, $new_name) |
static | tableExists () |
static | fieldExists ($field_name) |
static | removeDBField ($field_name) |
static | updateDB () |
static | resetDB () |
static | truncateDB () |
static | flushDB () |
static | preloadObjects () |
static | additionalParams (array $additional_params) |
static | findOrFail ($primary_key, array $add_constructor_args=array()) |
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=array()) |
static | where ($where, $operator=null) |
static | innerjoinAR (ActiveRecord $ar, $on_this, $on_external, $fields=array(' *'), $operator='=', $both_external=false) |
static | innerjoin ($tablename, $on_this, $on_external, $fields=array(' *'), $operator='=', $both_external=false) |
static | leftjoin ($tablename, $on_this, $on_external, $fields=array(' *'), $operator='=', $both_external=false) |
static | orderBy ($orderBy, $orderDirection='ASC') |
static | dateFormat ($date_format='d.m.Y - H:i:s') |
static | limit ($start, $end) |
static | affectedRows () |
static | count () |
static | get () |
static | debug () |
static | first () |
static | getCollection () |
static | last () |
static | getFirstFromLastQuery () |
static | connector (arConnector $connector) |
static | raw ($set_raw=true) |
static | getArray ($key=null, $values=null) |
static | _toCamelCase ($str, $capitalise_first_char=false) |
Protected Attributes | |
$identification | |
$active = true | |
$position = 0 | |
$parent_identification = '' | |
$connector_container_name = "il_mm_items" | |
![]() | |
$ar_safe_read = true | |
$connector_container_name = '' | |
Additional Inherited Members | |
![]() | |
const | ACTIVE_RECORD_VERSION = '2.0.7' |
![]() | |
serializeToCSV ($field) | |
This method is called for every field of your instance if you use __asCsv. More... | |
installDatabase () | |
![]() | |
static | getCalledClass () |
static | fromCamelCase ($str) |
Class ilMMItemStorage.
Definition at line 11 of file class.ilMMItemStorage.php.
ilMMItemStorage::create | ( | ) |
Definition at line 41 of file class.ilMMItemStorage.php.
References getIdentification(), and CachedActiveRecord\update().
ilMMItemStorage::getCache | ( | ) |
Definition at line 54 of file class.ilMMItemStorage.php.
References ilGlobalCache\COMP_GLOBAL_SCREEN, and ilGlobalCache\getInstance().
ilMMItemStorage::getIdentification | ( | ) |
Definition at line 103 of file class.ilMMItemStorage.php.
References $identification.
Referenced by create().
ilMMItemStorage::getParentIdentification | ( | ) |
Definition at line 157 of file class.ilMMItemStorage.php.
References $parent_identification.
ilMMItemStorage::getPosition | ( | ) |
ilMMItemStorage::isActive | ( | ) |
|
static |
isItem | $item |
Definition at line 19 of file class.ilMMItemStorage.php.
References CachedActiveRecord\find().
Referenced by ilMMItemRepository\__construct(), ilMMAbstractItemFacade\__construct(), ilMMAbstractItemFacade\create(), and ilMMCustomProvider\getSingleCustomItem().
ilMMItemStorage::setActive | ( | bool | $active | ) |
bool | $active |
Definition at line 130 of file class.ilMMItemStorage.php.
References $active.
ilMMItemStorage::setIdentification | ( | string | $identification | ) |
string | $identification |
Definition at line 112 of file class.ilMMItemStorage.php.
References $identification.
ilMMItemStorage::setParentIdentification | ( | string | $parent_identification | ) |
string | $parent_identification |
Definition at line 166 of file class.ilMMItemStorage.php.
References $parent_identification.
ilMMItemStorage::setPosition | ( | int | $position | ) |
int | $position |
Definition at line 148 of file class.ilMMItemStorage.php.
References $position.
|
protected |
Definition at line 77 of file class.ilMMItemStorage.php.
Referenced by isActive(), and setActive().
|
protected |
Definition at line 97 of file class.ilMMItemStorage.php.
|
protected |
Definition at line 69 of file class.ilMMItemStorage.php.
Referenced by getIdentification(), and setIdentification().
|
protected |
Definition at line 93 of file class.ilMMItemStorage.php.
Referenced by getParentIdentification(), and setParentIdentification().
|
protected |
Definition at line 85 of file class.ilMMItemStorage.php.
Referenced by getPosition(), and setPosition().