ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilSearchCommandQueueElement Class Reference

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

+ Collaboration diagram for ilSearchCommandQueueElement:

Public Member Functions

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

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

ilSearchCommandQueueElement::__construct ( )

Constructor.

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

{
}

Member Function Documentation

ilSearchCommandQueueElement::getCommand ( )

get command

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

References $command.

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

{
}

+ Here is the caller graph for this function:

ilSearchCommandQueueElement::getFinished ( )

get finished

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

References $finished.

{
return (bool) $this->finished;
}
ilSearchCommandQueueElement::getLastUpdate ( )

get last update

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

{
return is_object($this->last_update) ? $this->last_update : null;
}
ilSearchCommandQueueElement::getObjId ( )

get obj_id

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

References $obj_id.

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

{
return $this->obj_id;
}

+ Here is the caller graph for this function:

ilSearchCommandQueueElement::getObjType ( )

get obj_type

Definition at line 81 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:

ilSearchCommandQueueElement::setCommand (   $a_command)

set command

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

{
$this->command = $a_command;
}
ilSearchCommandQueueElement::setFinished (   $a_finished)

set finsihed

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

{
$this->finished = $a_finished;
}
ilSearchCommandQueueElement::setLastUpdate ( ilDateTime  $date_time)

set last_update

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

{
$this->last_update = $date_time;
}
ilSearchCommandQueueElement::setObjId (   $a_id)

set obj_id

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

{
$this->obj_id = $a_id;
}
ilSearchCommandQueueElement::setObjType (   $a_type)

set obj_type

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

{
$this->obj_type = $a_type;
}

Field Documentation

ilSearchCommandQueueElement::$command
private

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

Referenced by getCommand().

ilSearchCommandQueueElement::$finished
private

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

Referenced by getFinished().

ilSearchCommandQueueElement::$last_update
private

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

ilSearchCommandQueueElement::$obj_id
private

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

Referenced by getObjId().

ilSearchCommandQueueElement::$obj_type
private

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

Referenced by getObjType().

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

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


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