◆ __construct()
ilSearchCommandQueue::__construct |
( |
| ) |
|
|
protected |
◆ factory()
static ilSearchCommandQueue::factory |
( |
| ) |
|
|
static |
◆ insert()
Insert new entry.
Definition at line 80 of file class.ilSearchCommandQueue.php.
References $query, $res, ilSearchCommandQueueElement\getCommand(), ilSearchCommandQueueElement\getObjId(), and ilSearchCommandQueueElement\getObjType().
Referenced by store().
82 $query =
"INSERT INTO search_command_queue (obj_id,obj_type,sub_id,sub_type,command,last_update,finished) " .
84 $this->db->quote($element->
getObjId(),
'integer') .
", " .
85 $this->db->quote($element->
getObjType(),
'text') .
", " .
88 $this->db->quote($element->
getCommand(),
'text') .
", " .
89 $this->db->now() .
", " .
◆ store()
◆ update()
Update existing entry.
Definition at line 98 of file class.ilSearchCommandQueue.php.
References $query, $res, ilSearchCommandQueueElement\getCommand(), ilSearchCommandQueueElement\getObjId(), and ilSearchCommandQueueElement\getObjType().
Referenced by store().
100 $query =
"UPDATE search_command_queue " .
101 "SET command = " . $this->db->quote($element->
getCommand(),
'text') .
", " .
102 "last_update = " . $this->db->now() .
", " .
103 "finished = " . $this->db->quote(0,
'integer') .
" " .
104 "WHERE obj_id = " . $this->db->quote($element->
getObjId(),
'integer') .
" " .
105 "AND obj_type = " . $this->db->quote($element->
getObjType(),
'text');
◆ $db
◆ $instance
self ilSearchCommandQueue::$instance = null |
|
staticprivate |
The documentation for this class was generated from the following file: