|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilADTFloat:
Collaboration diagram for ilADTFloat:Public Member Functions | |
| reset () | |
| Init property defaults. More... | |
| setNumber ($a_value=null) | |
| getNumber () | |
| equals (ilADT $a_adt) | |
| Check if given ADT equals self. More... | |
| isLarger (ilADT $a_adt) | |
| Check if given ADT is larger than self. More... | |
| isSmaller (ilADT $a_adt) | |
| Check if given ADT is smaller than self. More... | |
| isNull () | |
| Is currently null. More... | |
| isValid () | |
| getCheckSum () | |
| Get unique checksum. More... | |
| exportStdClass () | |
| Export value as stdClass. More... | |
| importStdClass (?stdClass $a_std) | |
| Import value from stdClass. More... | |
Public Member Functions inherited from ilADT | |
| __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) | |
| Check if definition is valid for ADT. More... | |
Protected Member Functions inherited from ilADT | |
| 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 | |
| float | $value |
Protected Attributes inherited from ilADT | |
| ilADTDefinition | $definition |
| ilLanguage | $lng |
| array | $validation_errors = [] |
Additional Inherited Members | |
Data Fields inherited from ilADT | |
| 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' |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning
Definition at line 21 of file class.ilADTFloat.php.
| ilADTFloat::equals | ( | ilADT | $a_adt | ) |
Check if given ADT equals self.
| ilADT | $a_adt |
Reimplemented from ilADT.
Definition at line 53 of file class.ilADTFloat.php.
References ilADT\getDefinition(), and getNumber().
Here is the call graph for this function:| ilADTFloat::exportStdClass | ( | ) |
Export value as stdClass.
Reimplemented from ilADT.
Definition at line 114 of file class.ilADTFloat.php.
References getNumber(), and isNull().
Here is the call graph for this function:| ilADTFloat::getCheckSum | ( | ) |
Get unique checksum.
Reimplemented from ilADT.
Definition at line 104 of file class.ilADTFloat.php.
References getNumber(), and isNull().
Here is the call graph for this function:| ilADTFloat::getNumber | ( | ) |
Definition at line 46 of file class.ilADTFloat.php.
References $value.
Referenced by equals(), exportStdClass(), getCheckSum(), isLarger(), isNull(), isSmaller(), and isValid().
Here is the caller graph for this function:| ilADTFloat::importStdClass | ( | ?stdClass | $a_std | ) |
Import value from stdClass.
| stdClass | null | $a_std |
Reimplemented from ilADT.
Definition at line 124 of file class.ilADTFloat.php.
References setNumber().
Here is the call graph for this function:| ilADTFloat::isLarger | ( | ilADT | $a_adt | ) |
Check if given ADT is larger than self.
| ilADT | $a_adt |
Reimplemented from ilADT.
Definition at line 61 of file class.ilADTFloat.php.
References ilADT\getDefinition(), and getNumber().
Here is the call graph for this function:| ilADTFloat::isNull | ( | ) |
Is currently null.
Reimplemented from ilADT.
Definition at line 79 of file class.ilADTFloat.php.
References getNumber().
Referenced by exportStdClass(), and getCheckSum().
Here is the call graph for this function:
Here is the caller graph for this function:| ilADTFloat::isSmaller | ( | ilADT | $a_adt | ) |
Check if given ADT is smaller than self.
| ilADT | $a_adt |
Reimplemented from ilADT.
Definition at line 69 of file class.ilADTFloat.php.
References ilADT\getDefinition(), and getNumber().
Here is the call graph for this function:| ilADTFloat::isValid | ( | ) |
Reimplemented from ilADT.
Definition at line 84 of file class.ilADTFloat.php.
References $valid, ilADT\addValidationError(), ilADT\getDefinition(), and getNumber().
Here is the call graph for this function:
|
protected |
Check if definition is valid for ADT.
| ilADTDefinition | $a_def |
Reimplemented from ilADT.
Definition at line 27 of file class.ilADTFloat.php.
| ilADTFloat::reset | ( | ) |
Init property defaults.
Reimplemented from ilADT.
Definition at line 32 of file class.ilADTFloat.php.
| ilADTFloat::setNumber | ( | $a_value = null | ) |
Definition at line 41 of file class.ilADTFloat.php.
References ilADT\getDefinition().
Referenced by importStdClass().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 23 of file class.ilADTFloat.php.
Referenced by getNumber().