ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilECSCategoryMappingRule Class Reference

Defines a rule for the assignment of ECS remote courses to categories. More...

+ Collaboration diagram for ilECSCategoryMappingRule:

Public Member Functions

 __construct (int $a_mapping_id=0)
 Constructor. More...
 
 getMappingId ()
 get mapping id More...
 
 setContainerId (int $a_id)
 set container id More...
 
 getContainerId ()
 get container id More...
 
 setDateRangeStart (ilDate $start)
 set date range start More...
 
 getDateRangeStart ()
 get date range start More...
 
 setDateRangeEnd (ilDate $end)
 set date range end More...
 
 getDateRangeEnd ()
 get date range end More...
 
 setFieldName (string $a_field)
 set field name More...
 
 getFieldName ()
 get field name More...
 
 setMappingType (int $a_type)
 set mapping type More...
 
 getMappingType ()
 get mapping type More...
 
 setMappingValue (string $a_value)
 set mapping value More...
 
 getMappingValue ()
 get mapping value More...
 
 getMappingAsArray ()
 get mapping values as array More...
 
 setByType (string $a_type)
 set mapping by type More...
 
 getByType ()
 get mapping by type More...
 
 delete ()
 delete rule More...
 
 update ()
 update More...
 
 save ()
 save More...
 
 validate ()
 validate rule More...
 
 conditionToString ()
 condition to string More...
 
 participantsToString ()
 get string presentation of participants More...
 
 matches (array $a_matchable_content)
 Check if rule matches a specific econtent. More...
 

Data Fields

const ATTR_STRING = 1
 
const ATTR_INT = 2
 
const ATTR_ARRAY = 3
 
const TYPE_FIXED = 0
 
const TYPE_DURATION = 1
 
const TYPE_BY_TYPE = 2
 
const ERR_MISSING_VALUE = 'ecs_err_missing_value'
 
const ERR_INVALID_DATES = 'ecs_err_invalid_dates'
 
const ERR_INVALID_TYPE = 'ecs_err_invalid_type'
 
const ERR_MISSING_BY_TYPE = 'ecs_err_invalid_by_type'
 

Protected Member Functions

 setMappingId (int $a_id)
 set mapping id More...
 
 matchesValue ($a_value, int $a_type)
 Check if value matches. More...
 
 read ()
 Read entries. More...
 

Private Attributes

ilDBInterface $db
 
ilLanguage $language
 
ilLogger $logger
 
int $mapping_id
 
int $container_id = null
 
string $field_name = null
 
int $mapping_type = ilECSCategoryMappingRule::TYPE_FIXED
 
string $mapping_value = null
 
ilDate $range_dt_start = null
 
ilDate $range_dt_end = null
 
string $by_type = null
 

Detailed Description

Defines a rule for the assignment of ECS remote courses to categories.

Author
Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om

Definition at line 26 of file class.ilECSCategoryMappingRule.php.

Constructor & Destructor Documentation

◆ __construct()

ilECSCategoryMappingRule::__construct ( int  $a_mapping_id = 0)

Constructor.

Parameters
intmapping id

Definition at line 58 of file class.ilECSCategoryMappingRule.php.

59 {
60 global $DIC;
61
62 $this->db = $DIC->database();
63 $this->language = $DIC->language();
64 $this->logger = $DIC->logger()->wsrv();
65
66 $this->mapping_id = $a_mapping_id;
67
68 $this->read();
69 }
global $DIC
Definition: shib_login.php:26

References $DIC, ILIAS\UI\examples\Symbol\Glyph\Language\language(), ILIAS\Repository\logger(), and read().

+ Here is the call graph for this function:

Member Function Documentation

◆ conditionToString()

ilECSCategoryMappingRule::conditionToString ( )

condition to string

Returns

Definition at line 338 of file class.ilECSCategoryMappingRule.php.

338 : string
339 {
340 switch ($this->getMappingType()) {
341 case self::TYPE_FIXED:
342
343 if ($this->getFieldName() === 'part_id') {
344 return $this->language->txt('ecs_field_' . $this->getFieldName()) . ': ' . $this->participantsToString();
345 }
346 return $this->language->txt('ecs_field_' . $this->getFieldName()) . ': ' . $this->getMappingValue();
347
349 return $this->language->txt('ecs_field_' . $this->getFieldName()) . ': ' . ilDatePresentation::formatPeriod(
350 $this->getDateRangeStart(),
351 $this->getDateRangeEnd()
352 );
353
355 return $this->language->txt('type') . ': ' . $this->language->txt('obj_' . $this->getByType());
356 }
357 return "";
358 }
static formatPeriod(ilDateTime $start, ilDateTime $end, bool $a_skip_starting_day=false, ?ilObjUser $user=null)
Format a period of two dates Shows: 14.
participantsToString()
get string presentation of participants

References ilDatePresentation\formatPeriod(), getByType(), getDateRangeEnd(), getDateRangeStart(), getFieldName(), getMappingType(), getMappingValue(), ILIAS\UI\examples\Symbol\Glyph\Language\language(), participantsToString(), TYPE_BY_TYPE, TYPE_DURATION, and TYPE_FIXED.

+ Here is the call graph for this function:

◆ delete()

ilECSCategoryMappingRule::delete ( )

delete rule

Todo:
move to repository class
Returns

Definition at line 236 of file class.ilECSCategoryMappingRule.php.

236 : void
237 {
238 $this->db->manipulateF(
239 'DELETE FROM ecs_container_mapping WHERE mapping_id = %s ',
240 array('integer'),
241 array($this->getMappingId())
242 );
243 }

References getMappingId().

Referenced by ilECSSettingsGUI\deleteCategoryMappings().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getByType()

ilECSCategoryMappingRule::getByType ( )

get mapping by type

Returns
string

Definition at line 226 of file class.ilECSCategoryMappingRule.php.

226 : ?string
227 {
228 return $this->by_type;
229 }

References $by_type.

Referenced by conditionToString(), save(), and update().

+ Here is the caller graph for this function:

◆ getContainerId()

ilECSCategoryMappingRule::getContainerId ( )

get container id

Definition at line 103 of file class.ilECSCategoryMappingRule.php.

103 : ?int
104 {
105 return $this->container_id;
106 }

References $container_id.

Referenced by save(), update(), and validate().

+ Here is the caller graph for this function:

◆ getDateRangeEnd()

ilECSCategoryMappingRule::getDateRangeEnd ( )

get date range end

Returns

Definition at line 139 of file class.ilECSCategoryMappingRule.php.

139 : ilDate
140 {
141 if ($this->range_dt_end) {
142 return $this->range_dt_end;
143 }
144 $this->range_dt_end = $this->getDateRangeStart();
145 $this->range_dt_end->increment(IL_CAL_MONTH, 6);
146 return $this->range_dt_end;
147 }
const IL_CAL_MONTH
Class for single dates.

References $range_dt_end, getDateRangeStart(), and IL_CAL_MONTH.

Referenced by conditionToString(), matchesValue(), save(), update(), and validate().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getDateRangeStart()

ilECSCategoryMappingRule::getDateRangeStart ( )

get date range start

Definition at line 120 of file class.ilECSCategoryMappingRule.php.

120 : ilDate
121 {
122 return $this->range_dt_start ?: new ilDate(time(), IL_CAL_UNIX);
123 }
const IL_CAL_UNIX

References IL_CAL_UNIX.

Referenced by conditionToString(), getDateRangeEnd(), matchesValue(), save(), update(), and validate().

+ Here is the caller graph for this function:

◆ getFieldName()

ilECSCategoryMappingRule::getFieldName ( )

get field name

Returns

Definition at line 163 of file class.ilECSCategoryMappingRule.php.

163 : ?string
164 {
165 return $this->field_name;
166 }

References $field_name.

Referenced by conditionToString(), matches(), save(), update(), and validate().

+ Here is the caller graph for this function:

◆ getMappingAsArray()

ilECSCategoryMappingRule::getMappingAsArray ( )

get mapping values as array

Returns

Definition at line 207 of file class.ilECSCategoryMappingRule.php.

207 : array
208 {
209 return explode(',', $this->getMappingValue());
210 }

References getMappingValue().

Referenced by matchesValue().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getMappingId()

ilECSCategoryMappingRule::getMappingId ( )

get mapping id

Returns

Definition at line 85 of file class.ilECSCategoryMappingRule.php.

85 : int
86 {
87 return $this->mapping_id;
88 }

References $mapping_id.

Referenced by delete(), read(), and update().

+ Here is the caller graph for this function:

◆ getMappingType()

ilECSCategoryMappingRule::getMappingType ( )

get mapping type

Definition at line 180 of file class.ilECSCategoryMappingRule.php.

180 : int
181 {
182 return $this->mapping_type;
183 }

References $mapping_type.

Referenced by conditionToString(), matchesValue(), read(), save(), update(), and validate().

+ Here is the caller graph for this function:

◆ getMappingValue()

ilECSCategoryMappingRule::getMappingValue ( )

get mapping value

Returns

Definition at line 198 of file class.ilECSCategoryMappingRule.php.

198 : ?string
199 {
201 }

References $mapping_value.

Referenced by conditionToString(), getMappingAsArray(), matchesValue(), participantsToString(), save(), update(), and validate().

+ Here is the caller graph for this function:

◆ matches()

ilECSCategoryMappingRule::matches ( array  $a_matchable_content)

Check if rule matches a specific econtent.

Definition at line 390 of file class.ilECSCategoryMappingRule.php.

390 : bool
391 {
392 if (isset($a_matchable_content[$this->getFieldName()])) {
393 $value = $a_matchable_content[$this->getFieldName()];
394 return $this->matchesValue($value[0], $value[1]);
395 }
396 return false;
397 }
matchesValue($a_value, int $a_type)
Check if value matches.

References getFieldName(), and matchesValue().

+ Here is the call graph for this function:

◆ matchesValue()

ilECSCategoryMappingRule::matchesValue (   $a_value,
int  $a_type 
)
protected

Check if value matches.

Parameters
mixed$a_valueEcontent value
int$a_typeParameter type
Returns

Definition at line 405 of file class.ilECSCategoryMappingRule.php.

405 : bool
406 {
407 switch ($a_type) {
408 case self::ATTR_ARRAY:
409 $values = explode(',', $a_value);
410 $this->logger->info(__METHOD__ . ': Checking for value: ' . $a_value);
411 $this->logger->info(__METHOD__ . ': Checking against attribute values: ' . $this->getMappingValue());
412 break;
413
414 case self::ATTR_INT:
415 $this->logger->info(__METHOD__ . ': Checking for value: ' . $a_value);
416 $this->logger->info(__METHOD__ . ': Checking against attribute values: ' . $this->getMappingValue());
417 $values = array((string) $a_value);
418 break;
419
421 $values = array($a_value);
422 break;
423 }
424
425 foreach ($values as $value) {
426 $value = trim($value);
427 switch ($this->getMappingType()) {
428 case self::TYPE_FIXED:
429
430 foreach ($this->getMappingAsArray() as $attribute_value) {
431 $attribute_value = trim($attribute_value);
432 if (strcasecmp($attribute_value, $value) === 0) {
433 return true;
434 }
435 }
436 break;
437
439 $tmp_date = new ilDate($a_value, IL_CAL_UNIX);
440 return ilDateTime::_after($tmp_date, $this->getDateRangeStart()) and
441 ilDateTime::_before($tmp_date, $this->getDateRangeEnd());
442 }
443 }
444 return false;
445 }
@classDescription Date and time handling
static _after(ilDateTime $start, ilDateTime $end, string $a_compare_field='', string $a_tz='')
compare two dates and check start is after end This method does not consider tz offsets.
getMappingAsArray()
get mapping values as array
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

References ilDateTime\_after(), ilDateTime\_before(), ATTR_ARRAY, ATTR_INT, ATTR_STRING, getDateRangeEnd(), getDateRangeStart(), getMappingAsArray(), getMappingType(), getMappingValue(), IL_CAL_UNIX, ILIAS\Repository\logger(), TYPE_DURATION, and TYPE_FIXED.

Referenced by matches().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ participantsToString()

ilECSCategoryMappingRule::participantsToString ( )

get string presentation of participants

Definition at line 363 of file class.ilECSCategoryMappingRule.php.

363 : string
364 {
365 $part_string = "";
366 $part = explode(',', $this->getMappingValue());
367 $counter = 0;
368 foreach ($part as $part_id) {
369 if ($counter++) {
370 $part_string .= ', ';
371 }
372 $part_string .= '"';
373
374 $part_id_arr = explode('_', $part_id);
375 $name = (count($part_id_arr) === 2) ? ilECSCommunityReader::getInstanceByServerId((int) $part_id_arr[0])
376 ->getParticipantNameByMid((int) $part_id_arr[1]) : "Broken mapping entry in database";
377 if ($name) {
378 $part_string .= $name;
379 } else {
380 $part_string .= $part_id;
381 }
382 $part_string .= '"';
383 }
384 return $part_string;
385 }
static getInstanceByServerId(int $a_server_id)
Get instance by server id.
$counter

References $counter, ilECSCommunityReader\getInstanceByServerId(), and getMappingValue().

Referenced by conditionToString().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ read()

ilECSCategoryMappingRule::read ( )
protected

Read entries.

Definition at line 450 of file class.ilECSCategoryMappingRule.php.

450 : bool
451 {
452 if (!$this->getMappingId()) {
453 return false;
454 }
455 $res = $this->db->queryF(
456 'SELECT * FROM ecs_container_mapping WHERE mapping_id = %s',
457 array('integer'),
458 array($this->getMappingId())
459 );
460 while ($row = $this->db->fetchObject($res)) {
461 $this->setMappingId((int) $row->mapping_id);
462 $this->setDateRangeStart($row->date_range_start ? new ilDate($row->date_range_start, IL_CAL_UNIX) : null);
463 $this->setDateRangeEnd($row->date_range_end ? new ilDate($row->date_range_end, IL_CAL_UNIX) : null);
464 $this->setMappingType((int) $row->mapping_type);
465 $this->setFieldName($row->field_name);
466 $this->setContainerId((int) $row->container_id);
467
468 if ($this->getMappingType() === self::TYPE_BY_TYPE) {
469 $this->setByType($row->mapping_value);
470 } else {
471 $this->setMappingValue($row->mapping_value);
472 }
473 }
474 return true;
475 }
setMappingValue(string $a_value)
set mapping value
setDateRangeStart(ilDate $start)
set date range start
setMappingType(int $a_type)
set mapping type
setFieldName(string $a_field)
set field name
setByType(string $a_type)
set mapping by type
setDateRangeEnd(ilDate $end)
set date range end
setContainerId(int $a_id)
set container id
$res
Definition: ltiservices.php:69

References $res, getMappingId(), getMappingType(), IL_CAL_UNIX, setByType(), setContainerId(), setDateRangeEnd(), setDateRangeStart(), setFieldName(), setMappingId(), setMappingType(), and setMappingValue().

Referenced by __construct().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ save()

ilECSCategoryMappingRule::save ( )

save

Returns

Definition at line 282 of file class.ilECSCategoryMappingRule.php.

282 : void
283 {
284 if ($this->getMappingType() === self::TYPE_BY_TYPE) {
285 $mapping_value = $this->getByType();
286 } else {
288 }
289
290 $mapping_id = $this->db->nextId('ecs_container_mapping');
291 $this->db->manipulateF(
292 'INSERT INTO ecs_container_mapping ' .
293 '(mapping_id,container_id,field_name,mapping_type,mapping_value,date_range_start,date_range_end) ' .
294 'VALUES(%s,%s,%s,%s,%s,%s,%s) ',
295 array('integer','integer','text','integer','text','integer','integer'),
296 array(
298 $this->getContainerId(),
299 $this->getFieldName(),
300 $this->getMappingType(),
302 $this->getDateRangeStart()->get(IL_CAL_UNIX),
303 $this->getDateRangeEnd()->get(IL_CAL_UNIX))
304 );
305 }

References $mapping_id, $mapping_value, getByType(), getContainerId(), getDateRangeEnd(), getDateRangeStart(), getFieldName(), getMappingType(), getMappingValue(), and IL_CAL_UNIX.

+ Here is the call graph for this function:

◆ setByType()

ilECSCategoryMappingRule::setByType ( string  $a_type)

set mapping by type

Parameters
string$typeMapping type
Returns

Definition at line 217 of file class.ilECSCategoryMappingRule.php.

217 : void
218 {
219 $this->by_type = $a_type;
220 }

Referenced by read().

+ Here is the caller graph for this function:

◆ setContainerId()

ilECSCategoryMappingRule::setContainerId ( int  $a_id)

set container id

Parameters
int$a_id$a_container_id
Returns

Definition at line 95 of file class.ilECSCategoryMappingRule.php.

95 : void
96 {
97 $this->container_id = $a_id;
98 }

Referenced by read().

+ Here is the caller graph for this function:

◆ setDateRangeEnd()

ilECSCategoryMappingRule::setDateRangeEnd ( ilDate  $end)

set date range end

Parameters
object$startilDate
Returns

Definition at line 130 of file class.ilECSCategoryMappingRule.php.

130 : void
131 {
132 $this->range_dt_end = $end;
133 }

Referenced by read().

+ Here is the caller graph for this function:

◆ setDateRangeStart()

ilECSCategoryMappingRule::setDateRangeStart ( ilDate  $start)

set date range start

Parameters
object$startilDate

Definition at line 112 of file class.ilECSCategoryMappingRule.php.

112 : void
113 {
114 $this->range_dt_start = $start;
115 }

Referenced by read().

+ Here is the caller graph for this function:

◆ setFieldName()

ilECSCategoryMappingRule::setFieldName ( string  $a_field)

set field name

Parameters
string$a_fieldfield name
Returns

Definition at line 154 of file class.ilECSCategoryMappingRule.php.

154 : void
155 {
156 $this->field_name = $a_field;
157 }

Referenced by read().

+ Here is the caller graph for this function:

◆ setMappingId()

ilECSCategoryMappingRule::setMappingId ( int  $a_id)
protected

set mapping id

Parameters
int$a_mapping_idmapping id
Returns
void

Definition at line 76 of file class.ilECSCategoryMappingRule.php.

76 : void
77 {
78 $this->mapping_id = $a_id;
79 }

Referenced by read().

+ Here is the caller graph for this function:

◆ setMappingType()

ilECSCategoryMappingRule::setMappingType ( int  $a_type)

set mapping type

Parameters
int$a_typeMapping type

Definition at line 172 of file class.ilECSCategoryMappingRule.php.

172 : void
173 {
174 $this->mapping_type = $a_type;
175 }

Referenced by read().

+ Here is the caller graph for this function:

◆ setMappingValue()

ilECSCategoryMappingRule::setMappingValue ( string  $a_value)

set mapping value

Parameters
string$valMapping value

Definition at line 189 of file class.ilECSCategoryMappingRule.php.

189 : void
190 {
191 $this->mapping_value = $a_value;
192 }

Referenced by read().

+ Here is the caller graph for this function:

◆ update()

ilECSCategoryMappingRule::update ( )

update

Returns

Definition at line 249 of file class.ilECSCategoryMappingRule.php.

249 : void
250 {
251 if ($this->getMappingType() === self::TYPE_BY_TYPE) {
252 $mapping_value = $this->getByType();
253 } else {
255 }
256
257 $this->db->manipulateF(
258 'UPDATE ecs_container_mapping SET ' .
259 'container_id = %s, ' .
260 'field_name = %s, ' .
261 'mapping_type = %s, ' .
262 'mapping_value = %s, ' .
263 'date_range_start = %s,' .
264 'date_range_end = %s ' .
265 'WHERE mapping_id = %s',
266 array('integer','text','integer','text','integer','integer','integer'),
267 array(
268 $this->getContainerId(),
269 $this->getFieldName(),
270 $this->getMappingType(),
272 $this->getDateRangeStart()->get(IL_CAL_UNIX),
273 $this->getDateRangeEnd()->get(IL_CAL_UNIX),
274 $this->getMappingId())
275 );
276 }

References $mapping_value, getByType(), getContainerId(), getDateRangeEnd(), getDateRangeStart(), getFieldName(), getMappingId(), getMappingType(), getMappingValue(), and IL_CAL_UNIX.

+ Here is the call graph for this function:

◆ validate()

ilECSCategoryMappingRule::validate ( )

validate rule

Definition at line 310 of file class.ilECSCategoryMappingRule.php.

310 : string
311 {
314 }
317 }
318 if ($this->getMappingType() === self::TYPE_DURATION && !in_array($this->getFieldName(), array('begin', 'end'))) {
320 }
321 // handled by form gui?
322 if ($this->getMappingType() === self::TYPE_FIXED && !$this->getMappingValue()) {
324 }
325 if ($this->getMappingType() === self::TYPE_BY_TYPE && $this->getFieldName() !== 'type') {
327 }
328 if ($this->getMappingType() !== self::TYPE_BY_TYPE && $this->getFieldName() === 'type') {
330 }
331 return '';
332 }
const IL_CAL_DAY
static _lookupType(int $id, bool $reference=false)
static _lookupObjId(int $ref_id)

References ilDateTime\_after(), ilObject\_lookupObjId(), ilObject\_lookupType(), ERR_INVALID_DATES, ERR_INVALID_TYPE, ERR_MISSING_BY_TYPE, ERR_MISSING_VALUE, getContainerId(), getDateRangeEnd(), getDateRangeStart(), getFieldName(), getMappingType(), getMappingValue(), and IL_CAL_DAY.

+ Here is the call graph for this function:

Field Documentation

◆ $by_type

string ilECSCategoryMappingRule::$by_type = null
private

Definition at line 52 of file class.ilECSCategoryMappingRule.php.

Referenced by getByType().

◆ $container_id

int ilECSCategoryMappingRule::$container_id = null
private

Definition at line 46 of file class.ilECSCategoryMappingRule.php.

Referenced by getContainerId().

◆ $db

ilDBInterface ilECSCategoryMappingRule::$db
private

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

◆ $field_name

string ilECSCategoryMappingRule::$field_name = null
private

Definition at line 47 of file class.ilECSCategoryMappingRule.php.

Referenced by getFieldName().

◆ $language

ilLanguage ilECSCategoryMappingRule::$language
private

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

◆ $logger

ilLogger ilECSCategoryMappingRule::$logger
private

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

◆ $mapping_id

int ilECSCategoryMappingRule::$mapping_id
private

Definition at line 45 of file class.ilECSCategoryMappingRule.php.

Referenced by getMappingId(), and save().

◆ $mapping_type

int ilECSCategoryMappingRule::$mapping_type = ilECSCategoryMappingRule::TYPE_FIXED
private

Definition at line 48 of file class.ilECSCategoryMappingRule.php.

Referenced by getMappingType().

◆ $mapping_value

string ilECSCategoryMappingRule::$mapping_value = null
private

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

Referenced by getMappingValue(), save(), and update().

◆ $range_dt_end

ilDate ilECSCategoryMappingRule::$range_dt_end = null
private

Definition at line 51 of file class.ilECSCategoryMappingRule.php.

Referenced by getDateRangeEnd().

◆ $range_dt_start

ilDate ilECSCategoryMappingRule::$range_dt_start = null
private

Definition at line 50 of file class.ilECSCategoryMappingRule.php.

◆ ATTR_ARRAY

const ilECSCategoryMappingRule::ATTR_ARRAY = 3

◆ ATTR_INT

const ilECSCategoryMappingRule::ATTR_INT = 2

◆ ATTR_STRING

const ilECSCategoryMappingRule::ATTR_STRING = 1

◆ ERR_INVALID_DATES

const ilECSCategoryMappingRule::ERR_INVALID_DATES = 'ecs_err_invalid_dates'

Definition at line 37 of file class.ilECSCategoryMappingRule.php.

Referenced by validate().

◆ ERR_INVALID_TYPE

const ilECSCategoryMappingRule::ERR_INVALID_TYPE = 'ecs_err_invalid_type'

Definition at line 38 of file class.ilECSCategoryMappingRule.php.

Referenced by validate().

◆ ERR_MISSING_BY_TYPE

const ilECSCategoryMappingRule::ERR_MISSING_BY_TYPE = 'ecs_err_invalid_by_type'

Definition at line 39 of file class.ilECSCategoryMappingRule.php.

Referenced by validate().

◆ ERR_MISSING_VALUE

const ilECSCategoryMappingRule::ERR_MISSING_VALUE = 'ecs_err_missing_value'

Definition at line 36 of file class.ilECSCategoryMappingRule.php.

Referenced by validate().

◆ TYPE_BY_TYPE

◆ TYPE_DURATION

◆ TYPE_FIXED


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