ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilMMTypeActionStorage Class Reference

Class ilMMTypeActionStorage. More...

+ Inheritance diagram for ilMMTypeActionStorage:
+ Collaboration diagram for ilMMTypeActionStorage:

Public Member Functions

 getIdentification ()
 
 setIdentification (string $identification)
 
 getAction ()
 
 setAction (string $action)
 
 isExternal ()
 
 setExternal (bool $external)
 
 getCache ()
 
- Public Member Functions inherited from CachedActiveRecord
 getCache ()
 
 getCacheIdentifier ()
 
 getTTL ()
 
 __construct ($primary_key=0, arConnector $connector=null)
 
 afterObjectLoad ()
 
 create ()
 
 copy (int $new_id=0)
 
 read ()
 
 update ()
 
 delete ()
 
- Public Member Functions inherited from ActiveRecord
 getArConnector ()
 
 getArFieldList ()
 
 getConnectorContainerName ()
 Return the Name of your Connector Table More...
 
 setConnectorContainerName (string $connector_container_name)
 
 getPrimaryFieldValue ()
 
 setPrimaryFieldValue ($value)
 
 __construct ($primary_key=0)
 
 storeObjectToCache ()
 
 asStdClass ()
 
 buildFromArray (array $array)
 
 fixDateField ($field_name, $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 find ($primary_key, array $add_constructor_args=array())
 
- Static Public Member Functions inherited from ActiveRecord
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=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, array $fields=array(' *'), string $operator='=', $both_external=false)
 
static innerjoin ( $tablename, $on_this, $on_external, array $fields=array(' *'), string $operator='=', bool $both_external=false)
 
static leftjoin ( $tablename, $on_this, $on_external, array $fields=array(' *'), string $operator='=', bool $both_external=false)
 
static orderBy ($orderBy, string $orderDirection='ASC')
 
static dateFormat (string $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 (bool $set_raw=true)
 
static getArray (?string $key=null, $values=null)
 
static _toCamelCase (string $str, bool $capitalise_first_char=false)
 

Protected Attributes

string $identification
 true true true text 64 More...
 
string $action = ''
 true text 4000 More...
 
bool $external = false
 true integer 1 More...
 
string $connector_container_name = "il_mm_actions"
 
- Protected Attributes inherited from ActiveRecord
bool $ar_safe_read = true
 
string $connector_container_name = ''
 
bool $is_new = true
 

Additional Inherited Members

- Protected Member Functions inherited from ActiveRecord
 installDatabase ()
 
- Static Protected Member Functions inherited from ActiveRecord
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)
 

Detailed Description

Member Function Documentation

◆ find()

static ilMMTypeActionStorage::find (   $primary_key,
array  $add_constructor_args = array() 
)
static
Returns
ilMMTypeActionStorage

Definition at line 129 of file class.ilMMTypeActionStorage.php.

Referenced by ilMMAbstractBaseTypeHandlerAction\saveFormFields().

130  {
131  $parent = parent::find($primary_key, $add_constructor_args);
132  if ($parent === null) {
133  $parent = new self();
134  $parent->setIdentification($primary_key);
135  $parent->create();
136  }
137 
138  return $parent;
139  }
Class ilMMTypeActionStorage.
+ Here is the caller graph for this function:

◆ getAction()

ilMMTypeActionStorage::getAction ( )
Returns
string

Definition at line 76 of file class.ilMMTypeActionStorage.php.

References $action.

76  : string
77  {
78  return $this->action;
79  }

◆ getCache()

ilMMTypeActionStorage::getCache ( )

Definition at line 120 of file class.ilMMTypeActionStorage.php.

References ilGlobalCache\COMP_GLOBAL_SCREEN, and ilGlobalCache\getInstance().

120  : ilGlobalCache
121  {
123  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static getInstance(?string $component)
+ Here is the call graph for this function:

◆ getIdentification()

ilMMTypeActionStorage::getIdentification ( )
Returns
string

Definition at line 54 of file class.ilMMTypeActionStorage.php.

References $identification.

54  : string
55  {
56  return $this->identification;
57  }
string $identification
true true true text 64

◆ isExternal()

ilMMTypeActionStorage::isExternal ( )
Returns
bool

Definition at line 98 of file class.ilMMTypeActionStorage.php.

References $external.

98  : bool
99  {
100  return $this->external;
101  }

◆ setAction()

ilMMTypeActionStorage::setAction ( string  $action)
Parameters
string$action
Returns
ilMMTypeActionStorage

Definition at line 87 of file class.ilMMTypeActionStorage.php.

References $action.

88  {
89  $this->action = $action;
90 
91  return $this;
92  }
Class ilMMTypeActionStorage.

◆ setExternal()

ilMMTypeActionStorage::setExternal ( bool  $external)
Parameters
bool$external
Returns
ilMMTypeActionStorage

Definition at line 109 of file class.ilMMTypeActionStorage.php.

References $external.

110  {
111  $this->external = $external;
112 
113  return $this;
114  }
Class ilMMTypeActionStorage.

◆ setIdentification()

ilMMTypeActionStorage::setIdentification ( string  $identification)
Parameters
string$identification
Returns
ilMMTypeActionStorage

Definition at line 65 of file class.ilMMTypeActionStorage.php.

References $identification.

66  {
67  $this->identification = $identification;
68 
69  return $this;
70  }
string $identification
true true true text 64
Class ilMMTypeActionStorage.

Field Documentation

◆ $action

string ilMMTypeActionStorage::$action = ''
protected

true text 4000

Definition at line 38 of file class.ilMMTypeActionStorage.php.

Referenced by getAction(), and setAction().

◆ $connector_container_name

string ilMMTypeActionStorage::$connector_container_name = "il_mm_actions"
protected

Definition at line 48 of file class.ilMMTypeActionStorage.php.

◆ $external

bool ilMMTypeActionStorage::$external = false
protected

true integer 1

Definition at line 44 of file class.ilMMTypeActionStorage.php.

Referenced by isExternal(), and setExternal().

◆ $identification

string ilMMTypeActionStorage::$identification
protected

true true true text 64

Definition at line 32 of file class.ilMMTypeActionStorage.php.

Referenced by getIdentification(), and setIdentification().


The documentation for this class was generated from the following file: