ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
class.ilSearchCommandQueueElement.php
Go to the documentation of this file.
1
<?php
2
/*
3
+-----------------------------------------------------------------------------+
4
| ILIAS open source |
5
+-----------------------------------------------------------------------------+
6
| Copyright (c) 1998-2006 ILIAS open source, University of Cologne |
7
| |
8
| This program is free software; you can redistribute it and/or |
9
| modify it under the terms of the GNU General Public License |
10
| as published by the Free Software Foundation; either version 2 |
11
| of the License, or (at your option) any later version. |
12
| |
13
| This program is distributed in the hope that it will be useful, |
14
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
15
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16
| GNU General Public License for more details. |
17
| |
18
| You should have received a copy of the GNU General Public License |
19
| along with this program; if not, write to the Free Software |
20
| Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
21
+-----------------------------------------------------------------------------+
22
*/
23
33
class
ilSearchCommandQueueElement
34
{
35
const
UPDATE
=
'update'
;
36
const
DELETE
=
'delete'
;
37
const
CREATE
=
'create'
;
38
const
RESET
=
'reset'
;
39
40
private
$obj_id
;
41
private
$obj_type
;
42
private
$command
;
43
private
$last_update
;
44
private
$finished
;
45
49
public
function
__construct
()
50
{
51
}
52
56
public
function
setObjId
($a_id)
57
{
58
$this->obj_id = $a_id;
59
}
60
64
public
function
getObjId
()
65
{
66
return
$this->obj_id
;
67
}
68
72
public
function
setObjType
(
$a_type
)
73
{
74
$this->obj_type =
$a_type
;
75
}
76
80
public
function
getObjType
()
81
{
82
return
$this->obj_type
;
83
}
84
88
public
function
setCommand
($a_command)
89
{
90
$this->command = $a_command;
91
}
92
96
public
function
getCommand
()
97
{
98
return
$this->command
;
99
}
100
104
public
function
setLastUpdate
(
ilDateTime
$date_time)
105
{
106
$this->last_update = $date_time;
107
}
108
112
public
function
getLastUpdate
()
113
{
114
return
is_object($this->last_update) ? $this->last_update : null;
115
}
116
120
public
function
setFinished
($a_finished)
121
{
122
$this->finished = $a_finished;
123
}
124
128
public
function
getFinished
()
129
{
130
return
(
bool
)
$this->finished
;
131
}
132
}
ilSearchCommandQueueElement\setObjId
setObjId($a_id)
set obj_id
Definition:
class.ilSearchCommandQueueElement.php:56
ilSearchCommandQueueElement\setFinished
setFinished($a_finished)
set finsihed
Definition:
class.ilSearchCommandQueueElement.php:120
ilSearchCommandQueueElement\$obj_id
$obj_id
Definition:
class.ilSearchCommandQueueElement.php:40
ilSearchCommandQueueElement\__construct
__construct()
Constructor.
Definition:
class.ilSearchCommandQueueElement.php:49
ilSearchCommandQueueElement\setObjType
setObjType($a_type)
set obj_type
Definition:
class.ilSearchCommandQueueElement.php:72
ilSearchCommandQueueElement\getLastUpdate
getLastUpdate()
get last update
Definition:
class.ilSearchCommandQueueElement.php:112
ilSearchCommandQueueElement
Represents an entry for the search command queue.
Definition:
class.ilSearchCommandQueueElement.php:33
ilSearchCommandQueueElement\getObjType
getObjType()
get obj_type
Definition:
class.ilSearchCommandQueueElement.php:80
ilSearchCommandQueueElement\getObjId
getObjId()
get obj_id
Definition:
class.ilSearchCommandQueueElement.php:64
ilSearchCommandQueueElement\UPDATE
const UPDATE
Definition:
class.ilSearchCommandQueueElement.php:35
ilSearchCommandQueueElement\$last_update
$last_update
Definition:
class.ilSearchCommandQueueElement.php:43
ilSearchCommandQueueElement\RESET
const RESET
Definition:
class.ilSearchCommandQueueElement.php:38
ilSearchCommandQueueElement\setLastUpdate
setLastUpdate(ilDateTime $date_time)
set last_update
Definition:
class.ilSearchCommandQueueElement.php:104
ilSearchCommandQueueElement\setCommand
setCommand($a_command)
set command
Definition:
class.ilSearchCommandQueueElement.php:88
$a_type
$a_type
Definition:
workflow.php:92
ilSearchCommandQueueElement\$obj_type
$obj_type
Definition:
class.ilSearchCommandQueueElement.php:41
ilDateTime
Date and time handling
Definition:
class.ilDateTime.php:32
ilSearchCommandQueueElement\getFinished
getFinished()
get finished
Definition:
class.ilSearchCommandQueueElement.php:128
ilSearchCommandQueueElement\getCommand
getCommand()
get command
Definition:
class.ilSearchCommandQueueElement.php:96
ilSearchCommandQueueElement\DELETE
const DELETE
Definition:
class.ilSearchCommandQueueElement.php:36
ilSearchCommandQueueElement\$finished
$finished
Definition:
class.ilSearchCommandQueueElement.php:44
ilSearchCommandQueueElement\$command
$command
Definition:
class.ilSearchCommandQueueElement.php:42
ilSearchCommandQueueElement\CREATE
const CREATE
Definition:
class.ilSearchCommandQueueElement.php:37
Services
Search
classes
class.ilSearchCommandQueueElement.php
Generated on Sat Jan 18 2025 19:01:37 for ILIAS by
1.8.13 (using
Doxyfile
)