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

Represents an entry for the search command queue. More...

+ Collaboration diagram for ilSearchCommandQueueElement:

Public Member Functions

 setObjId (int $a_id)
 set obj_id More...
 
 getObjId ()
 get obj_id More...
 
 setObjType (string $a_type)
 set obj_type More...
 
 getObjType ()
 get obj_type More...
 
 setCommand (string $a_command)
 set command More...
 
 getCommand ()
 get command More...
 
 setLastUpdate (ilDateTime $date_time)
 set last_update More...
 
 getLastUpdate ()
 get last update More...
 
 setFinished (bool $a_finished)
 set finsihed More...
 
 getFinished ()
 get finished More...
 

Data Fields

const UPDATE = 'update'
 
const DELETE = 'delete'
 
const CREATE = 'create'
 
const RESET = 'reset'
 

Private Attributes

int $obj_id
 
string $obj_type
 
string $command
 
ilDateTime $last_update
 
bool $finished
 

Detailed Description

Represents an entry for the search command queue.

Author
Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om

Definition at line 34 of file class.ilSearchCommandQueueElement.php.

Member Function Documentation

◆ getCommand()

ilSearchCommandQueueElement::getCommand ( )

get command

Definition at line 90 of file class.ilSearchCommandQueueElement.php.

References $command.

Referenced by ilSearchCommandQueue\insert(), and ilSearchCommandQueue\update().

90  : string
91  {
92  return $this->command;
93  }
+ Here is the caller graph for this function:

◆ getFinished()

ilSearchCommandQueueElement::getFinished ( )

get finished

Definition at line 122 of file class.ilSearchCommandQueueElement.php.

References $finished.

122  : bool
123  {
124  return $this->finished;
125  }

◆ getLastUpdate()

ilSearchCommandQueueElement::getLastUpdate ( )

get last update

Definition at line 106 of file class.ilSearchCommandQueueElement.php.

106  : ?ilDateTime
107  {
108  return is_object($this->last_update) ? $this->last_update : null;
109  }

◆ getObjId()

ilSearchCommandQueueElement::getObjId ( )

get obj_id

Definition at line 58 of file class.ilSearchCommandQueueElement.php.

References $obj_id.

Referenced by ilSearchCommandQueue\insert(), ilSearchCommandQueue\store(), and ilSearchCommandQueue\update().

58  : int
59  {
60  return $this->obj_id;
61  }
+ Here is the caller graph for this function:

◆ getObjType()

ilSearchCommandQueueElement::getObjType ( )

get obj_type

Definition at line 74 of file class.ilSearchCommandQueueElement.php.

References $obj_type.

Referenced by ilSearchCommandQueue\insert(), ilSearchCommandQueue\store(), and ilSearchCommandQueue\update().

74  : string
75  {
76  return $this->obj_type;
77  }
+ Here is the caller graph for this function:

◆ setCommand()

ilSearchCommandQueueElement::setCommand ( string  $a_command)

set command

Definition at line 82 of file class.ilSearchCommandQueueElement.php.

82  : void
83  {
84  $this->command = $a_command;
85  }

◆ setFinished()

ilSearchCommandQueueElement::setFinished ( bool  $a_finished)

set finsihed

Definition at line 114 of file class.ilSearchCommandQueueElement.php.

114  : void
115  {
116  $this->finished = $a_finished;
117  }

◆ setLastUpdate()

ilSearchCommandQueueElement::setLastUpdate ( ilDateTime  $date_time)

set last_update

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

98  : void
99  {
100  $this->last_update = $date_time;
101  }

◆ setObjId()

ilSearchCommandQueueElement::setObjId ( int  $a_id)

set obj_id

Definition at line 50 of file class.ilSearchCommandQueueElement.php.

50  : void
51  {
52  $this->obj_id = $a_id;
53  }

◆ setObjType()

ilSearchCommandQueueElement::setObjType ( string  $a_type)

set obj_type

Definition at line 66 of file class.ilSearchCommandQueueElement.php.

66  : void
67  {
68  $this->obj_type = $a_type;
69  }

Field Documentation

◆ $command

string ilSearchCommandQueueElement::$command
private

Definition at line 43 of file class.ilSearchCommandQueueElement.php.

Referenced by getCommand().

◆ $finished

bool ilSearchCommandQueueElement::$finished
private

Definition at line 45 of file class.ilSearchCommandQueueElement.php.

Referenced by getFinished().

◆ $last_update

ilDateTime ilSearchCommandQueueElement::$last_update
private

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

◆ $obj_id

int ilSearchCommandQueueElement::$obj_id
private

Definition at line 41 of file class.ilSearchCommandQueueElement.php.

Referenced by getObjId().

◆ $obj_type

string ilSearchCommandQueueElement::$obj_type
private

Definition at line 42 of file class.ilSearchCommandQueueElement.php.

Referenced by getObjType().

◆ CREATE

const ilSearchCommandQueueElement::CREATE = 'create'

◆ DELETE

const ilSearchCommandQueueElement::DELETE = 'delete'

◆ RESET

const ilSearchCommandQueueElement::RESET = 'reset'

◆ UPDATE

const ilSearchCommandQueueElement::UPDATE = 'update'

Definition at line 36 of file class.ilSearchCommandQueueElement.php.


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