19declare(strict_types=1);
49 case 'prg_status_hide_irrelevant':
54 .
'memberdata.firstname LIKE \'%' . $value .
'%\' OR' . PHP_EOL
55 .
'memberdata.lastname LIKE \'%' . $value .
'%\' OR' . PHP_EOL
56 .
'memberdata.login LIKE \'%' . $value .
'%\'' . PHP_EOL
75 $conditions[] =
'memberdata.active = 1';
78 $conditions[] =
'memberdata.active = 0';
82 list($from, $to) = array_values($value);
85 $conditions[] =
'vq_date >= \'' . $from .
' 00:00:00\'';
89 $conditions[] =
'vq_date <= \'' . $to .
' 23:59:59\'';
93 list($from, $to) = array_values($value);
95 $conditions[] =
'deadline IS NOT NULL';
104 $conditions[] =
'deadline >= \'' . $from .
'\'';
108 $conditions[] =
'deadline <= \'' . $to .
'\'';
112 throw new ilException(
"missing field in filter (to condition): " . $field, 1);
122 if (array_key_exists(
$id, $this->values)) {
126 || $this->values[
$id] ===
false
132 && $this->values[
$id] ==
''
137 && ($this->values[
$id] ==
false || is_null($this->values[
$id]))
142 && $this->values[
$id][
'from'] == []
143 && $this->values[
$id][
'to'] == []
147 $ret[
$id] = $this->values[
$id];
168 $this->
lng->txt(
'prg_validity')
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Base class for ILIAS Exception handling.
const PROGRESS_FIELD_INVALIDATED
const PROGRESS_FIELD_STATUS
const PROGRESS_FIELD_VQ_DATE
const PROGRESS_FIELD_DEADLINE
withValues(array $values)
__construct(ilLanguage $lng)
const STATUS_NOT_RELEVANT
const VALIDITY_OPTION_VALID
const VALIDITY_OPTION_INVALID
const OPTION_USR_INACTIVE