ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilSearchCommandQueueElement Class Reference

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

+ Collaboration diagram for ilSearchCommandQueueElement:

Public Member Functions

 __construct ()
 Constructor. More...
 
 setObjId ($a_id)
 set obj_id More...
 
 getObjId ()
 get obj_id More...
 
 setObjType ($a_type)
 set obj_type More...
 
 getObjType ()
 get obj_type More...
 
 setCommand ($a_command)
 set command More...
 
 getCommand ()
 get command More...
 
 setLastUpdate (ilDateTime $date_time)
 set last_update More...
 
 getLastUpdate ()
 get last update More...
 
 setFinished ($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

 $obj_id
 
 $obj_type
 
 $command
 
 $last_update
 
 $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
Version
$Id$

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

Constructor & Destructor Documentation

◆ __construct()

ilSearchCommandQueueElement::__construct ( )

Constructor.

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

50  {
51  }

Member Function Documentation

◆ getCommand()

ilSearchCommandQueueElement::getCommand ( )

get command

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

References $command.

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

+ Here is the caller graph for this function:

◆ getFinished()

ilSearchCommandQueueElement::getFinished ( )

get finished

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

References $finished.

◆ getLastUpdate()

ilSearchCommandQueueElement::getLastUpdate ( )

get last update

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

113  {
114  return is_object($this->last_update) ? $this->last_update : null;
115  }

◆ getObjId()

ilSearchCommandQueueElement::getObjId ( )

get obj_id

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

References $obj_id.

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

+ Here is the caller graph for this function:

◆ getObjType()

ilSearchCommandQueueElement::getObjType ( )

get obj_type

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

References $obj_type.

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

+ Here is the caller graph for this function:

◆ setCommand()

ilSearchCommandQueueElement::setCommand (   $a_command)

set command

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

89  {
90  $this->command = $a_command;
91  }

◆ setFinished()

ilSearchCommandQueueElement::setFinished (   $a_finished)

set finsihed

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

121  {
122  $this->finished = $a_finished;
123  }

◆ setLastUpdate()

ilSearchCommandQueueElement::setLastUpdate ( ilDateTime  $date_time)

set last_update

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

105  {
106  $this->last_update = $date_time;
107  }

◆ setObjId()

ilSearchCommandQueueElement::setObjId (   $a_id)

set obj_id

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

57  {
58  $this->obj_id = $a_id;
59  }

◆ setObjType()

ilSearchCommandQueueElement::setObjType (   $a_type)

set obj_type

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

References $a_type.

73  {
74  $this->obj_type = $a_type;
75  }
$a_type
Definition: workflow.php:92

Field Documentation

◆ $command

ilSearchCommandQueueElement::$command
private

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

Referenced by getCommand().

◆ $finished

ilSearchCommandQueueElement::$finished
private

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

Referenced by getFinished().

◆ $last_update

ilSearchCommandQueueElement::$last_update
private

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

◆ $obj_id

ilSearchCommandQueueElement::$obj_id
private

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

Referenced by getObjId().

◆ $obj_type

ilSearchCommandQueueElement::$obj_type
private

Definition at line 41 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 35 of file class.ilSearchCommandQueueElement.php.


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