ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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 ()
 @description 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 ()
 @depracated 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
 @con_is_primary true @con_is_unique true @con_has_field true @con_sequence true @con_fieldtype integer @con_length 8 More...
 
int $has_parent_task = null
 @con_has_field true @con_fieldtype integer @con_length 1 More...
 
int $parent_task_id = null
 @con_has_field true @con_fieldtype integer @con_length 8 More...
 
string $hash = null
 @con_has_field true @con_fieldtype text @con_length 256 More...
 
string $type = null
 @con_has_field true @con_fieldtype text @con_length 256 More...
 
string $class_path = null
 @con_has_field true @con_fieldtype text @con_length 256 More...
 
string $class_name = null
 @con_has_field true @con_fieldtype text @con_length 256 More...
 
string $serialized = null
 @con_has_field true @con_fieldtype clob More...
 
int $bucket_id = null
 @con_has_field true @con_fieldtype integer @con_length 8 More...
 
int $position = null
 @con_has_field true @con_fieldtype integer @con_length 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 ()
 @description Returns an instance of the instatiated calling active record (needs to be done in static methods) @TODO : 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 ( )

Definition at line 183 of file ValueContainer.php.

183 : int
184 {
185 return $this->bucket_id;
186 }
int $bucket_id
@con_has_field true @con_fieldtype integer @con_length 8

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

◆ getClassName()

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

Definition at line 157 of file ValueContainer.php.

157 : string
158 {
159 return $this->class_name;
160 }
string $class_name
@con_has_field true @con_fieldtype text @con_length 256

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

◆ getClassPath()

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

Definition at line 147 of file ValueContainer.php.

147 : string
148 {
149 return $this->class_path;
150 }
string $class_path
@con_has_field true @con_fieldtype text @con_length 256

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

◆ getHash()

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

Definition at line 124 of file ValueContainer.php.

124 : string
125 {
126 return $this->hash;
127 }
string $hash
@con_has_field true @con_fieldtype text @con_length 256

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

◆ getHasParenttask()

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

Definition at line 101 of file ValueContainer.php.

101 : int
102 {
104 }
int $has_parent_task
@con_has_field true @con_fieldtype integer @con_length 1

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

◆ getId()

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

Definition at line 91 of file ValueContainer.php.

91 : int
92 {
93 return $this->id;
94 }
int $id
@con_is_primary true @con_is_unique true @con_has_field true @con_sequence true @con_fieldtype intege...

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

◆ getParentTaskid()

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

Definition at line 111 of file ValueContainer.php.

111 : int
112 {
114 }
int $parent_task_id
@con_has_field true @con_fieldtype integer @con_length 8

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

◆ getPosition()

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

Definition at line 193 of file ValueContainer.php.

193 : int
194 {
195 return $this->position;
196 }
int $position
@con_has_field true @con_fieldtype integer @con_length 8

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

◆ getSerialized()

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

Definition at line 170 of file ValueContainer.php.

170 : string
171 {
172 return $this->serialized;
173 }
string $serialized
@con_has_field true @con_fieldtype clob

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

◆ getType()

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

Definition at line 137 of file ValueContainer.php.

137 : string
138 {
139 return $this->type;
140 }
string $type
@con_has_field true @con_fieldtype text @con_length 256

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

◆ returnDbTableName()

static ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer::returnDbTableName ( )
static
Returns
never
Exceptions

arException

Deprecated:

Reimplemented from ActiveRecord.

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.

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

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

◆ setClassName()

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

Definition at line 162 of file ValueContainer.php.

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

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

◆ setClassPath()

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

Definition at line 152 of file ValueContainer.php.

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

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

◆ 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.

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

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

◆ setHasParenttask()

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

Definition at line 106 of file ValueContainer.php.

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

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

◆ setId()

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

Definition at line 96 of file ValueContainer.php.

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

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

◆ setParentTaskid()

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

Definition at line 116 of file ValueContainer.php.

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

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

◆ setPosition()

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

Definition at line 198 of file ValueContainer.php.

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

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

◆ 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.

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

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

◆ setType()

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

Definition at line 142 of file ValueContainer.php.

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

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

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

@con_is_primary true @con_is_unique true @con_has_field true @con_sequence true @con_fieldtype integer @con_length 8

Definition at line 36 of file ValueContainer.php.

Referenced by ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer\getId(), and ILIAS\BackgroundTasks\Implementation\Persistence\ValueContainer\setId().

◆ $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: