ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ 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
}
53
57
public
function
setObjId
($a_id)
58
{
59
$this->obj_id = $a_id;
60
}
61
65
public
function
getObjId
()
66
{
67
return
$this->obj_id
;
68
}
69
73
public
function
setObjType
(
$a_type
)
74
{
75
$this->obj_type =
$a_type
;
76
}
77
81
public
function
getObjType
()
82
{
83
return
$this->obj_type
;
84
}
85
89
public
function
setCommand
($a_command)
90
{
91
$this->command = $a_command;
92
}
93
97
public
function
getCommand
()
98
{
99
return
$this->command
;
100
}
101
105
public
function
setLastUpdate
(
ilDateTime
$date_time)
106
{
107
$this->last_update = $date_time;
108
}
109
113
public
function
getLastUpdate
()
114
{
115
return
is_object($this->last_update) ? $this->last_update : null;
116
}
117
121
public
function
setFinished
($a_finished)
122
{
123
$this->finished = $a_finished;
124
}
125
129
public
function
getFinished
()
130
{
131
return
(
bool
)
$this->finished
;
132
}
133
}
134
?>
ilSearchCommandQueueElement\setObjId
setObjId($a_id)
set obj_id
Definition:
class.ilSearchCommandQueueElement.php:57
ilSearchCommandQueueElement\setFinished
setFinished($a_finished)
set finsihed
Definition:
class.ilSearchCommandQueueElement.php:121
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:73
ilSearchCommandQueueElement\getLastUpdate
getLastUpdate()
get last update
Definition:
class.ilSearchCommandQueueElement.php:113
ilSearchCommandQueueElement
Represents an entry for the search command queue.
Definition:
class.ilSearchCommandQueueElement.php:33
ilSearchCommandQueueElement\getObjType
getObjType()
get obj_type
Definition:
class.ilSearchCommandQueueElement.php:81
ilSearchCommandQueueElement\getObjId
getObjId()
get obj_id
Definition:
class.ilSearchCommandQueueElement.php:65
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:105
ilSearchCommandQueueElement\setCommand
setCommand($a_command)
set command
Definition:
class.ilSearchCommandQueueElement.php:89
$a_type
$a_type
Definition:
workflow.php:93
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:129
ilSearchCommandQueueElement\getCommand
getCommand()
get command
Definition:
class.ilSearchCommandQueueElement.php:97
ilSearchCommandQueueElement\DELETE
const DELETE
Definition:
class.ilSearchCommandQueueElement.php:36
php
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 Fri Jan 17 2025 19:01:16 for ILIAS by
1.8.13 (using
Doxyfile
)