ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
Public Member Functions | |
__clone () | |
reset () | |
hasElement (string $a_name) | |
getElement (string $a_name) | |
getElements () | |
equals (ilADT $a_adt) | |
isLarger (ilADT $a_adt) | |
isSmaller (ilADT $a_adt) | |
isNull () | |
getValidationErrorsByElements () | |
getValidationErrors () | |
isValid () | |
translateErrorCode (string $a_code) | |
getCheckSum () | |
exportStdClass () | |
importStdClass (?stdClass $a_std) | |
![]() | |
__construct (ilADTDefinition $a_def) | |
getType () | |
Get type (from class/instance) More... | |
reset () | |
Init property defaults. More... | |
getCopyOfDefinition () | |
Get copy of definition. More... | |
equals (ilADT $a_adt) | |
Check if given ADT equals self. More... | |
isLarger (ilADT $a_adt) | |
Check if given ADT is larger than self. More... | |
isLargerOrEqual (ilADT $a_adt) | |
isSmaller (ilADT $a_adt) | |
Check if given ADT is smaller than self. More... | |
isSmallerOrEqual (ilADT $a_adt) | |
Check if given ADT is smaller or equal than self. More... | |
isInbetween (ilADT $a_adt_from, ilADT $a_adt_to) | |
Check if self is inbetween given ADTs (exclusive) More... | |
isInbetweenOrEqual (ilADT $a_adt_from, ilADT $a_adt_to) | |
Check if self is inbetween given ADTs (inclusive) More... | |
isNull () | |
Is currently null. More... | |
isValid () | |
getValidationErrors () | |
Get all validation error codes. More... | |
translateErrorCode (string $a_code) | |
Translate error-code to human-readable message. More... | |
getCheckSum () | |
Get unique checksum. More... | |
exportStdClass () | |
Export value as stdClass. More... | |
importStdClass (?stdClass $a_std) | |
Import value from stdClass. More... | |
Protected Member Functions | |
isValidDefinition (ilADTDefinition $a_def) | |
setDefinition (ilADTDefinition $a_def) | |
addElement (string $a_name, ilADTDefinition $a_def) | |
addElementValidationError (string $a_element_id, string $a_error_code) | |
![]() | |
isValidDefinition (ilADTDefinition $a_def) | |
Check if definition is valid for ADT. More... | |
setDefinition (ilADTDefinition $a_def) | |
Set definition. More... | |
getDefinition () | |
Get definition. More... | |
addValidationError (string $a_error_code) | |
Protected Attributes | |
array | $elements = [] |
![]() | |
ilADTDefinition | $definition |
ilLanguage | $lng |
array | $validation_errors = [] |
Additional Inherited Members | |
![]() | |
const | ADT_VALIDATION_ERROR_NULL_NOT_ALLOWED = "adt1" |
const | ADT_VALIDATION_ERROR_MAX_LENGTH = "adt2" |
const | ADT_VALIDATION_ERROR_MAX_SIZE = "adt3" |
const | ADT_VALIDATION_ERROR_MIN = "adt4" |
const | ADT_VALIDATION_ERROR_MAX = "adt5" |
const | ADT_VALIDATION_DATE = "adt6" |
const | ADT_VALIDATION_ERROR_INVALID_NODE = 'adt7' |
Definition at line 21 of file class.ilADTGroup.php.
ilADTGroup::__clone | ( | ) |
Definition at line 25 of file class.ilADTGroup.php.
References $id.
|
protected |
Definition at line 62 of file class.ilADTGroup.php.
References ilADTFactory\getInstance().
Referenced by setDefinition().
|
protected |
Definition at line 123 of file class.ilADTGroup.php.
Referenced by isValid().
ilADTGroup::equals | ( | ilADT | $a_adt | ) |
Definition at line 85 of file class.ilADTGroup.php.
References getCheckSum(), ilADT\getCheckSum(), ilADT\getDefinition(), and null.
ilADTGroup::exportStdClass | ( | ) |
Definition at line 171 of file class.ilADTGroup.php.
References $id, and getElements().
ilADTGroup::getCheckSum | ( | ) |
Definition at line 159 of file class.ilADTGroup.php.
References getElements(), isNull(), and null.
Referenced by equals().
ilADTGroup::getElement | ( | string | $a_name | ) |
Definition at line 72 of file class.ilADTGroup.php.
References hasElement(), and null.
Referenced by ilAdvancedMDValues\queryForRecords(), and translateErrorCode().
ilADTGroup::getElements | ( | ) |
Definition at line 80 of file class.ilADTGroup.php.
References $elements.
Referenced by exportStdClass(), getCheckSum(), importStdClass(), isNull(), isValid(), ilAdvancedMDValues\queryForRecords(), reset(), and setDefinition().
ilADTGroup::getValidationErrors | ( | ) |
Definition at line 118 of file class.ilADTGroup.php.
ilADTGroup::getValidationErrorsByElements | ( | ) |
ilADTGroup::hasElement | ( | string | $a_name | ) |
Definition at line 67 of file class.ilADTGroup.php.
Referenced by getElement(), and ilAdvancedMDValues\queryForRecords().
ilADTGroup::importStdClass | ( | ?stdClass | $a_std | ) |
Definition at line 180 of file class.ilADTGroup.php.
References $id, and getElements().
ilADTGroup::isLarger | ( | ilADT | $a_adt | ) |
Definition at line 93 of file class.ilADTGroup.php.
References null.
ilADTGroup::isNull | ( | ) |
Definition at line 105 of file class.ilADTGroup.php.
References getElements().
Referenced by getCheckSum(), and isValid().
ilADTGroup::isSmaller | ( | ilADT | $a_adt | ) |
Definition at line 98 of file class.ilADTGroup.php.
References null.
ilADTGroup::isValid | ( | ) |
Definition at line 128 of file class.ilADTGroup.php.
References $valid, addElementValidationError(), getElements(), and isNull().
|
protected |
Definition at line 34 of file class.ilADTGroup.php.
ilADTGroup::reset | ( | ) |
Definition at line 50 of file class.ilADTGroup.php.
References getElements().
|
protected |
Definition at line 39 of file class.ilADTGroup.php.
References addElement(), ilADT\getDefinition(), and getElements().
ilADTGroup::translateErrorCode | ( | string | $a_code | ) |
Definition at line 147 of file class.ilADTGroup.php.
References getElement().
|
protected |
Definition at line 23 of file class.ilADTGroup.php.
Referenced by getElements().