|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for assNumericRange:Public Member Functions | |
| __construct ($lowerlimit=0.0, $upperlimit=0.0, $points=0.0, $order=0) | |
| assNumericRange constructor More... | |
| getLowerLimit () | |
| Get the lower limit. More... | |
| getUpperLimit () | |
| Get the upper limit. More... | |
| getPoints () | |
| Get the points. More... | |
| getOrder () | |
| Get the order of the range. More... | |
| setLowerLimit ($limit) | |
| Set the lower limit. More... | |
| setUpperLimit ($limit) | |
| Set the upper limit. More... | |
| setPoints ($points) | |
| Set the points. More... | |
| setOrder ($order) | |
| Set the order. More... | |
| contains ($value) | |
| Checks for a given value within the range. More... | |
Protected Attributes | |
| $lowerlimit | |
| $upperlimit | |
| $points | |
| $order | |
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 Class for numeric ranges of questions
assNumericRange is a class for numeric ranges of questions
\
Definition at line 33 of file class.assNumericRange.php.
| assNumericRange::__construct | ( | $lowerlimit = 0.0, |
|
$upperlimit = 0.0, |
|||
$points = 0.0, |
|||
$order = 0 |
|||
| ) |
assNumericRange constructor
The constructor takes possible arguments an creates an instance of the assNumericRange object.
| double | $lowerlimit | The lower limit of the range |
| double | $upperlimit | The upper limit of the range |
| double | $points | The number of points given for the correct range |
| integer | $order | A nonnegative value representing a possible display or sort order |
Definition at line 81 of file class.assNumericRange.php.
References $lowerlimit, $order, $points, and $upperlimit.
| assNumericRange::contains | ( | $value | ) |
Checks for a given value within the range.
Checks for a given value within the range
| double | $value | The value to check |
Definition at line 213 of file class.assNumericRange.php.
| assNumericRange::getLowerLimit | ( | ) |
Get the lower limit.
Returns the lower limit of the range
Definition at line 98 of file class.assNumericRange.php.
References $lowerlimit.
| assNumericRange::getOrder | ( | ) |
Get the order of the range.
Returns the order of the range
Definition at line 140 of file class.assNumericRange.php.
References $order.
| assNumericRange::getPoints | ( | ) |
Get the points.
Returns the points of the range
Definition at line 126 of file class.assNumericRange.php.
References $points.
| assNumericRange::getUpperLimit | ( | ) |
Get the upper limit.
Returns the upper limit of the range
Definition at line 112 of file class.assNumericRange.php.
References $upperlimit.
| assNumericRange::setLowerLimit | ( | $limit | ) |
Set the lower limit.
Sets the lower limit of the range
| double | $limit | The lower limit |
Definition at line 154 of file class.assNumericRange.php.
| assNumericRange::setOrder | ( | $order | ) |
Set the order.
Sets the order of the range
| integer | $order | The order |
Definition at line 196 of file class.assNumericRange.php.
References $order.
| assNumericRange::setPoints | ( | $points | ) |
Set the points.
Sets the points of the range
| double | $points | The points |
Definition at line 182 of file class.assNumericRange.php.
References $points.
| assNumericRange::setUpperLimit | ( | $limit | ) |
Set the upper limit.
Sets the upper limit of the range
| double | $limit | The upper limit |
Definition at line 168 of file class.assNumericRange.php.
|
protected |
Definition at line 42 of file class.assNumericRange.php.
Referenced by __construct(), and getLowerLimit().
|
protected |
Definition at line 69 of file class.assNumericRange.php.
Referenced by __construct(), getOrder(), and setOrder().
|
protected |
Definition at line 60 of file class.assNumericRange.php.
Referenced by __construct(), getPoints(), and setPoints().
|
protected |
Definition at line 51 of file class.assNumericRange.php.
Referenced by __construct(), and getUpperLimit().