ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer Class Reference
+ Inheritance diagram for ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer:
+ Collaboration diagram for ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer:

Public Member Functions

 getId ()
 
 setId (int $id)
 
 getHasParenttask ()
 
 setHasParenttask (int $has_parent_task)
 
 getParentTaskid ()
 
 setParentTaskid (int $parent_task_id)
 
 getHash ()
 
 setHash (?string $hash)
 
 getType ()
 
 setType (string $type)
 
 getClassPath ()
 
 setClassPath (string $class_path)
 
 getClassName ()
 
 setClassName (string $class_name)
 
 getSerialized ()
 
 setSerialized (?string $serialized)
 
 getBucketId ()
 
 setBucketId (int $bucket_id)
 
 getPosition ()
 
 setPosition (int $position)
 
- 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 (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 ()
 
- 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=[])
 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 = null
 true true true true integer 8 More...
 
int $has_parent_task = null
 true integer 1 More...
 
int $parent_task_id = null
 true integer 8 More...
 
string $hash = null
 true text 256 More...
 
string $type = null
 true text 256 More...
 
string $class_path = null
 true text 256 More...
 
string $class_name = null
 true text 256 More...
 
string $serialized = null
 true clob More...
 
int $bucket_id = null
 true integer 8 More...
 
int $position = null
 true integer 8 More...
 
- 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

Definition at line 21 of file ValueContainer.php.

Member Function Documentation

◆ getBucketId()

ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer::getBucketId ( )

◆ getClassName()

ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer::getClassName ( )

◆ getClassPath()

ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer::getClassPath ( )

◆ getHash()

ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer::getHash ( )
Returns
string|null

Definition at line 124 of file ValueContainer.php.

References ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer\$hash.

124  : string
125  {
126  return $this->hash;
127  }

◆ getHasParenttask()

ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer::getHasParenttask ( )

◆ getId()

ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer::getId ( )

Definition at line 91 of file ValueContainer.php.

References ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer\$id.

91  : int
92  {
93  return $this->id;
94  }

◆ getParentTaskid()

ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer::getParentTaskid ( )

◆ getPosition()

ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer::getPosition ( )

◆ getSerialized()

ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer::getSerialized ( )
Returns
string|null

Definition at line 170 of file ValueContainer.php.

References ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer\$serialized.

170  : string
171  {
172  return $this->serialized;
173  }

◆ getType()

ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer::getType ( )

Definition at line 137 of file ValueContainer.php.

References ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer\$type.

137  : string
138  {
139  return $this->type;
140  }

◆ returnDbTableName()

static ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer::returnDbTableName ( )
static

Definition at line 23 of file ValueContainer.php.

23  : string
24  {
25  return "il_bt_value";
26  }

◆ setBucketId()

ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer::setBucketId ( int  $bucket_id)

Definition at line 188 of file ValueContainer.php.

References ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer\$bucket_id.

188  : void
189  {
190  $this->bucket_id = $bucket_id;
191  }

◆ setClassName()

ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer::setClassName ( string  $class_name)

Definition at line 162 of file ValueContainer.php.

References ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer\$class_name.

162  : void
163  {
164  $this->class_name = $class_name;
165  }

◆ setClassPath()

ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer::setClassPath ( string  $class_path)

Definition at line 152 of file ValueContainer.php.

References ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer\$class_path.

152  : void
153  {
154  $this->class_path = $class_path;
155  }

◆ setHash()

ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer::setHash ( ?string  $hash)
Parameters
string | null$hashmay be null for thunk values.

Definition at line 132 of file ValueContainer.php.

References ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer\$hash.

132  : void
133  {
134  $this->hash = $hash;
135  }

◆ setHasParenttask()

ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer::setHasParenttask ( int  $has_parent_task)

Definition at line 106 of file ValueContainer.php.

References ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer\$has_parent_task.

106  : void
107  {
108  $this->has_parent_task = $has_parent_task;
109  }

◆ setId()

ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer::setId ( int  $id)

Definition at line 96 of file ValueContainer.php.

References ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer\$id.

96  : void
97  {
98  $this->id = $id;
99  }

◆ setParentTaskid()

ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer::setParentTaskid ( int  $parent_task_id)

Definition at line 116 of file ValueContainer.php.

References ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer\$parent_task_id.

116  : void
117  {
118  $this->parent_task_id = $parent_task_id;
119  }

◆ setPosition()

ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer::setPosition ( int  $position)

Definition at line 198 of file ValueContainer.php.

References ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer\$position.

198  : void
199  {
200  $this->position = $position;
201  }

◆ setSerialized()

ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer::setSerialized ( ?string  $serialized)
Parameters
string | null$serializedMay be null for thunk values.

Definition at line 178 of file ValueContainer.php.

References ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer\$serialized.

178  : void
179  {
180  $this->serialized = $serialized;
181  }

◆ setType()

ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer::setType ( string  $type)

Definition at line 142 of file ValueContainer.php.

References ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer\$type.

142  : void
143  {
144  $this->type = $type;
145  }

Field Documentation

◆ $bucket_id

int ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer::$bucket_id = null
protected

◆ $class_name

string ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer::$class_name = null
protected

◆ $class_path

string ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer::$class_path = null
protected

◆ $has_parent_task

int ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer::$has_parent_task = null
protected

◆ $hash

string ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer::$hash = null
protected

◆ $id

int ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer::$id = null
protected

◆ $parent_task_id

int ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer::$parent_task_id = null
protected

◆ $position

int ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer::$position = null
protected

◆ $serialized

string ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer::$serialized = null
protected

◆ $type

string ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer::$type = null
protected

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