Todo List
[line 67]
This value is used if one tries to set this variable to a value that is not within the range given in $range.
[line 53]
Either an array with all valid values or one of GALVariable::INT, GALVariable::UINT, GALVariable::FLOAT or GALVariable::STRING.
[line 61]
It must be within the range given in $range. I.e. if $range is an array, it must be one of the array's values, and if it's GALVariable::FLOAT, it must be a floating point number. This is assured in set() and check().
mixed check( mixed $value)
If $value is invalid, the default value is used.
mixed get( )
void set( mixed $value)
If the value is invalid, $default is used.
GALVariable __construct( mixed $range, mixed $value, mixed $default)
Overridden in child classes as:
[line 42]
[line 34]
[line 46]
[line 38]