ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilECSCategoryMappingRule Class Reference

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

+ Collaboration diagram for ilECSCategoryMappingRule:

Public Member Functions

 __construct ($a_mapping_id=0)
 Constructor. More...
 
 getMappingId ()
 get mapping id More...
 
 setContainerId ($a_id)
 set container id More...
 
 getContainerId ()
 get container id More...
 
 setDateRangeStart ($start)
 set date range start More...
 
 getDateRangeStart ()
 get date range start More...
 
 setDateRangeEnd ($end)
 set date range end More...
 
 getDateRangeEnd ()
 get date range end More...
 
 setFieldName ($a_field)
 set field name More...
 
 getFieldName ()
 get field name More...
 
 setMappingType ($a_type)
 set mapping type More...
 
 getMappingType ()
 get mapping type More...
 
 setMappingValue ($a_value)
 set mapping value More...
 
 getMappingValue ()
 get mapping value More...
 
 getMappingAsArray ()
 get mapping values as array More...
 
 setByType ($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 strong 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 ($a_id)
 set mapping id More...
 
 matchesValue ($a_value, $a_type)
 Check if value matches. More...
 
 read ()
 Read entries. More...
 

Protected Attributes

 $db
 

Private Attributes

 $mapping_id
 
 $container_id
 
 $field_name
 
 $mapping_type
 
 $mapping_value
 
 $range_dt_start
 
 $range_dt_end
 
 $by_type
 

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
Version
$Id$

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

Constructor & Destructor Documentation

◆ __construct()

ilECSCategoryMappingRule::__construct (   $a_mapping_id = 0)

Constructor.

Parameters
intmapping id

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

References $ilDB, and read().

66  {
67  global $ilDB;
68 
69  $this->mapping_id = $a_mapping_id;
70 
71  $this->db = $ilDB;
72  $this->read();
73  }
global $ilDB
+ Here is the call graph for this function:

Member Function Documentation

◆ conditionToString()

ilECSCategoryMappingRule::conditionToString ( )

condition to string

Returns

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

References $lng, ilDatePresentation\formatPeriod(), getByType(), getDateRangeEnd(), getDateRangeStart(), getFieldName(), getMappingType(), getMappingValue(), and participantsToString().

351  {
352  global $lng;
353 
354  switch ($this->getMappingType()) {
355  case self::TYPE_FIXED:
356 
357  if ($this->getFieldName() == 'part_id') {
358  return $lng->txt('ecs_field_' . $this->getFieldName()) . ': ' . $this->participantsToString();
359  }
360  return $lng->txt('ecs_field_' . $this->getFieldName()) . ': ' . $this->getMappingValue();
361 
362  case self::TYPE_DURATION:
363  return $lng->txt('ecs_field_' . $this->getFieldName()) . ': ' . ilDatePresentation::formatPeriod(
364  $this->getDateRangeStart(),
365  $this->getDateRangeEnd()
366  );
367 
368  case self::TYPE_BY_TYPE:
369  return $lng->txt('type') . ': ' . $lng->txt('obj_' . $this->getByType());
370  }
371  }
participantsToString()
get strong presentation of participants
static formatPeriod(ilDateTime $start, ilDateTime $end, $a_skip_starting_day=false)
Format a period of two date Shows: 14.
global $lng
Definition: privfeed.php:17
+ Here is the call graph for this function:

◆ delete()

ilECSCategoryMappingRule::delete ( )

delete rule

Returns

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

References array, and getMappingId().

246  {
247  $sta = $this->db->manipulateF(
248  'DELETE FROM ecs_container_mapping WHERE mapping_id = %s ',
249  array('integer'),
250  array($this->getMappingId())
251  );
252  }
Create styles array
The data for the language used.
+ Here is the call graph for this function:

◆ getByType()

ilECSCategoryMappingRule::getByType ( )

get mapping by type

Returns
string

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

References $by_type.

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

+ Here is the caller graph for this function:

◆ getContainerId()

ilECSCategoryMappingRule::getContainerId ( )

get container id

Returns

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

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 146 of file class.ilECSCategoryMappingRule.php.

References $range_dt_end, getDateRangeStart(), and IL_CAL_MONTH.

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

147  {
148  if ($this->range_dt_end) {
149  return $this->range_dt_end;
150  }
151  $this->range_dt_end = $this->getDateRangeStart();
152  $this->range_dt_end->increment(IL_CAL_MONTH, 6);
153  return $this->range_dt_end;
154  }
const IL_CAL_MONTH
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getDateRangeStart()

ilECSCategoryMappingRule::getDateRangeStart ( )

get date range start

Returns

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

References IL_CAL_UNIX, and time.

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

128  {
129  return $this->range_dt_start ? $this->range_dt_start : new ilDate(time(), IL_CAL_UNIX);
130  }
const IL_CAL_UNIX
Class for single dates.
Add data(end) time
Method that wraps PHPs time in order to allow simulations with the workflow.
+ Here is the caller graph for this function:

◆ getFieldName()

ilECSCategoryMappingRule::getFieldName ( )

get field name

Returns

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

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 217 of file class.ilECSCategoryMappingRule.php.

References getMappingValue().

Referenced by matchesValue().

218  {
219  return explode(',', $this->getMappingValue());
220  }
+ 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 89 of file class.ilECSCategoryMappingRule.php.

References $mapping_id.

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

+ Here is the caller graph for this function:

◆ getMappingType()

ilECSCategoryMappingRule::getMappingType ( )

get mapping type

Returns

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

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 208 of file class.ilECSCategoryMappingRule.php.

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.

Parameters
array$a_matchable_content
Returns
bool

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

References getFieldName(), and matchesValue().

408  {
409  if (isset($a_matchable_content[$this->getFieldName()])) {
410  $value = $a_matchable_content[$this->getFieldName()];
411  return $this->matchesValue($value[0], $value[1]);
412  }
413  return false;
414  }
matchesValue($a_value, $a_type)
Check if value matches.
+ Here is the call graph for this function:

◆ matchesValue()

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

Check if value matches.

Parameters
mixed$a_valueEcontent value
int$a_typeParameter type
Returns

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

References $a_type, $ilLog, ilDateTime\_after(), ilDateTime\_before(), array, getDateRangeEnd(), getDateRangeStart(), getMappingAsArray(), getMappingType(), getMappingValue(), and IL_CAL_UNIX.

Referenced by matches().

423  {
424  global $ilLog;
425 
426 
427  switch ($a_type) {
428  case self::ATTR_ARRAY:
429  $values = explode(',', $a_value);
430  $ilLog->write(__METHOD__ . ': Checking for value: ' . $a_value);
431  $ilLog->write(__METHOD__ . ': Checking against attribute values: ' . $this->getMappingValue());
432  break;
433 
434  case self::ATTR_INT:
435  $ilLog->write(__METHOD__ . ': Checking for value: ' . $a_value);
436  $ilLog->write(__METHOD__ . ': Checking against attribute values: ' . $this->getMappingValue());
437  $values = array($a_value);
438  break;
439 
440  case self::ATTR_STRING:
441  $values = array($a_value);
442  break;
443  }
444  $values = explode(',', $a_value);
445 
446  foreach ($values as $value) {
447  $value = trim($value);
448  switch ($this->getMappingType()) {
449  case self::TYPE_FIXED:
450 
451  foreach ($this->getMappingAsArray() as $attribute_value) {
452  $attribute_value = trim($attribute_value);
453  if (strcasecmp($attribute_value, $value) == 0) {
454  return true;
455  }
456  }
457  break;
458 
459  case self::TYPE_DURATION:
460  include_once './Services/Calendar/classes/class.ilDateTime.php';
461  $tmp_date = new ilDate($a_value, IL_CAL_UNIX);
462  return ilDateTime::_after($tmp_date, $this->getDateRangeStart()) and
463  ilDateTime::_before($tmp_date, $this->getDateRangeEnd());
464  }
465  }
466  return false;
467  }
static _after(ilDateTime $start, ilDateTime $end, $a_compare_field='', $a_tz='')
compare two dates and check start is after end This method does not consider tz offsets.
getMappingAsArray()
get mapping values as array
const IL_CAL_UNIX
$a_type
Definition: workflow.php:92
Class for single dates.
Date and time handling
Create styles array
The data for the language used.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ participantsToString()

ilECSCategoryMappingRule::participantsToString ( )

get strong presentation of participants

Parameters

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

References $counter, $name, getMappingValue(), and ilECSUtils\lookupParticipantName().

Referenced by conditionToString().

379  {
380  include_once './Services/WebServices/ECS/classes/class.ilECSUtils.php';
381 
382  $part_string = "";
383  $part = explode(',', $this->getMappingValue());
384  $counter = 0;
385  foreach ($part as $part_id) {
386  if ($counter++) {
387  $part_string .= ', ';
388  }
389  $part_string .= '"';
390 
391  $part_id_arr = explode('_', $part_id);
392  if ($name = ilECSUtils::lookupParticipantName($part_id_arr[1], $part_id_arr[0])) {
393  $part_string .= $name;
394  } else {
395  $part_string .= $part_id;
396  }
397  $part_string .= '"';
398  }
399  return $part_string;
400  }
static lookupParticipantName($a_owner, $a_server_id)
Lookup participant name.
$counter
if($format !==null) $name
Definition: metadata.php:146
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ read()

ilECSCategoryMappingRule::read ( )
protected

Read entries.

Returns

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

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

Referenced by __construct().

474  {
475  if (!$this->getMappingId()) {
476  return false;
477  }
478  $res = $this->db->queryF(
479  'SELECT * FROM ecs_container_mapping WHERE mapping_id = %s',
480  array('integer'),
481  array($this->getMappingId())
482  );
483  while ($row = $this->db->fetchObject($res)) {
484  $this->setMappingId($row->mapping_id);
485  $this->setDateRangeStart($row->date_range_start ? new ilDate($row->date_range_start, IL_CAL_UNIX) : null);
486  $this->setDateRangeEnd($row->date_range_end ? new ilDate($row->date_range_end, IL_CAL_UNIX) : null);
487  $this->setMappingType($row->mapping_type);
488  $this->setFieldName($row->field_name);
489  $this->setContainerId($row->container_id);
490 
491  if ($this->getMappingType() == self::TYPE_BY_TYPE) {
492  $this->setByType($row->mapping_value);
493  } else {
494  $this->setMappingValue($row->mapping_value);
495  }
496  }
497  return true;
498  }
const IL_CAL_UNIX
setByType($a_type)
set mapping by type
Class for single dates.
foreach($_POST as $key=> $value) $res
setDateRangeStart($start)
set date range start
Create styles array
The data for the language used.
setMappingValue($a_value)
set mapping value
setMappingType($a_type)
set mapping type
setDateRangeEnd($end)
set date range end
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ save()

ilECSCategoryMappingRule::save ( )

save

Returns

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

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

292  {
293  global $ilDB;
294 
295  if ($this->getMappingType() == self::TYPE_BY_TYPE) {
296  $mapping_value = $this->getByType();
297  } else {
298  $mapping_value = $this->getMappingValue();
299  }
300 
301  $mapping_id = $ilDB->nextId('ecs_container_mapping');
302  $sta = $this->db->manipulateF(
303  'INSERT INTO ecs_container_mapping ' .
304  '(mapping_id,container_id,field_name,mapping_type,mapping_value,date_range_start,date_range_end) ' .
305  'VALUES(%s,%s,%s,%s,%s,%s,%s) ',
306  array('integer','integer','text','integer','text','integer','integer'),
307  array(
308  $mapping_id,
309  $this->getContainerId(),
310  $this->getFieldName(),
311  $this->getMappingType(),
313  $this->getDateRangeStart()->get(IL_CAL_UNIX),
314  $this->getDateRangeEnd()->get(IL_CAL_UNIX))
315  );
316  }
const IL_CAL_UNIX
Create styles array
The data for the language used.
global $ilDB
+ Here is the call graph for this function:

◆ setByType()

ilECSCategoryMappingRule::setByType (   $a_type)

set mapping by type

Parameters
string$typeMapping type
Returns

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

References $a_type.

Referenced by read().

228  {
229  $this->by_type = $a_type;
230  }
$a_type
Definition: workflow.php:92
+ Here is the caller graph for this function:

◆ setContainerId()

ilECSCategoryMappingRule::setContainerId (   $a_id)

set container id

Parameters
int$a_id$a_container_id
Returns

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

Referenced by read().

100  {
101  $this->container_id = $a_id;
102  }
+ Here is the caller graph for this function:

◆ setDateRangeEnd()

ilECSCategoryMappingRule::setDateRangeEnd (   $end)

set date range end

Parameters
object$startilDate
Returns

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

References $end.

Referenced by read().

138  {
139  $this->range_dt_end = $end;
140  }
$end
Definition: saml1-acs.php:18
+ Here is the caller graph for this function:

◆ setDateRangeStart()

ilECSCategoryMappingRule::setDateRangeStart (   $start)

set date range start

Parameters
object$startilDate
Returns

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

Referenced by read().

119  {
120  $this->range_dt_start = $start;
121  }
+ Here is the caller graph for this function:

◆ setFieldName()

ilECSCategoryMappingRule::setFieldName (   $a_field)

set field name

Parameters
string$a_fieldfield name
Returns

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

Referenced by read().

162  {
163  $this->field_name = $a_field;
164  }
+ Here is the caller graph for this function:

◆ setMappingId()

ilECSCategoryMappingRule::setMappingId (   $a_id)
protected

set mapping id

Parameters
int$a_mapping_idmapping id
Returns
void

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

Referenced by read().

81  {
82  $this->mapping_id = $a_id;
83  }
+ Here is the caller graph for this function:

◆ setMappingType()

ilECSCategoryMappingRule::setMappingType (   $a_type)

set mapping type

Parameters
int$typeMapping type
Returns

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

References $a_type.

Referenced by read().

181  {
182  $this->mapping_type = $a_type;
183  }
$a_type
Definition: workflow.php:92
+ Here is the caller graph for this function:

◆ setMappingValue()

ilECSCategoryMappingRule::setMappingValue (   $a_value)

set mapping value

Parameters
string$valMapping value
Returns

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

Referenced by read().

200  {
201  $this->mapping_value = $a_value;
202  }
+ Here is the caller graph for this function:

◆ update()

ilECSCategoryMappingRule::update ( )

update

Returns

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

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

259  {
260  if ($this->getMappingType() == self::TYPE_BY_TYPE) {
261  $mapping_value = $this->getByType();
262  } else {
263  $mapping_value = $this->getMappingValue();
264  }
265 
266  $sta = $this->db->manipulateF(
267  'UPDATE ecs_container_mapping SET ' .
268  'container_id = %s, ' .
269  'field_name = %s, ' .
270  'mapping_type = %s, ' .
271  'mapping_value = %s, ' .
272  'date_range_start = %s,' .
273  'date_range_end = %s ' .
274  'WHERE mapping_id = %s',
275  array('integer','text','integer','text','integer','integer','integer'),
276  array(
277  $this->getContainerId(),
278  $this->getFieldName(),
279  $this->getMappingType(),
281  $this->getDateRangeStart()->get(IL_CAL_UNIX),
282  $this->getDateRangeEnd()->get(IL_CAL_UNIX),
283  $this->getMappingId())
284  );
285  }
const IL_CAL_UNIX
Create styles array
The data for the language used.
+ Here is the call graph for this function:

◆ validate()

ilECSCategoryMappingRule::validate ( )

validate rule

Returns

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

References ilDateTime\_after(), ilObject\_lookupObjId(), ilObject\_lookupType(), array, getContainerId(), getDateRangeEnd(), getDateRangeStart(), getFieldName(), getMappingType(), getMappingValue(), and IL_CAL_DAY.

323  {
325  return self::ERR_INVALID_TYPE;
326  }
328  return self::ERR_INVALID_DATES;
329  }
330  if ($this->getMappingType() == self::TYPE_DURATION && !in_array($this->getFieldName(), array('begin', 'end'))) {
331  return self::ERR_MISSING_VALUE;
332  }
333  // handled by form gui?
334  if ($this->getMappingType() == self::TYPE_FIXED and !$this->getMappingValue()) {
335  return self::ERR_MISSING_VALUE;
336  }
337  if ($this->getMappingType() == self::TYPE_BY_TYPE && $this->getFieldName() != 'type') {
338  return self::ERR_MISSING_BY_TYPE;
339  }
340  if ($this->getMappingType() != self::TYPE_BY_TYPE && $this->getFieldName() == 'type') {
341  return self::ERR_MISSING_VALUE;
342  }
343  return 0;
344  }
static _after(ilDateTime $start, ilDateTime $end, $a_compare_field='', $a_tz='')
compare two dates and check start is after end This method does not consider tz offsets.
const IL_CAL_DAY
static _lookupObjId($a_id)
Create styles array
The data for the language used.
static _lookupType($a_id, $a_reference=false)
lookup object type
+ Here is the call graph for this function:

Field Documentation

◆ $by_type

ilECSCategoryMappingRule::$by_type
private

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

Referenced by getByType().

◆ $container_id

ilECSCategoryMappingRule::$container_id
private

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

Referenced by getContainerId().

◆ $db

ilECSCategoryMappingRule::$db
protected

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

◆ $field_name

ilECSCategoryMappingRule::$field_name
private

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

Referenced by getFieldName().

◆ $mapping_id

ilECSCategoryMappingRule::$mapping_id
private

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

Referenced by getMappingId(), and save().

◆ $mapping_type

ilECSCategoryMappingRule::$mapping_type
private

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

Referenced by getMappingType().

◆ $mapping_value

ilECSCategoryMappingRule::$mapping_value
private

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

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

◆ $range_dt_end

ilECSCategoryMappingRule::$range_dt_end
private

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

Referenced by getDateRangeEnd().

◆ $range_dt_start

ilECSCategoryMappingRule::$range_dt_start
private

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

◆ ATTR_ARRAY

const ilECSCategoryMappingRule::ATTR_ARRAY = 3

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

Referenced by ilECSUtils\getMatchableContent().

◆ ATTR_INT

const ilECSCategoryMappingRule::ATTR_INT = 2

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

Referenced by ilECSUtils\getMatchableContent().

◆ ATTR_STRING

const ilECSCategoryMappingRule::ATTR_STRING = 1

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

Referenced by ilECSUtils\getMatchableContent().

◆ ERR_INVALID_DATES

const ilECSCategoryMappingRule::ERR_INVALID_DATES = 'ecs_err_invalid_dates'

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

◆ ERR_INVALID_TYPE

const ilECSCategoryMappingRule::ERR_INVALID_TYPE = 'ecs_err_invalid_type'

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

◆ ERR_MISSING_BY_TYPE

const ilECSCategoryMappingRule::ERR_MISSING_BY_TYPE = 'ecs_err_invalid_by_type'

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

◆ ERR_MISSING_VALUE

const ilECSCategoryMappingRule::ERR_MISSING_VALUE = 'ecs_err_missing_value'

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

◆ TYPE_BY_TYPE

const ilECSCategoryMappingRule::TYPE_BY_TYPE = 2

◆ TYPE_DURATION

const ilECSCategoryMappingRule::TYPE_DURATION = 1

◆ TYPE_FIXED


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