ILIAS
release_7 Revision v7.30-3-g800a261c036
|
A simple class to express a naive range of whole positive numbers. More...
Public Member Functions | |
__construct (int $start, int $length) | |
unpack () | |
getStart () | |
getLength () | |
getEnd () | |
withStart (int $start) | |
withLength (int $length) | |
Protected Member Functions | |
checkStart (int $start) | |
checkLength (int $length) | |
Protected Attributes | |
$start | |
$length | |
A simple class to express a naive range of whole positive numbers.
ILIAS\Data\Range::__construct | ( | int | $start, |
int | $length | ||
) |
Definition at line 23 of file Range.php.
References ILIAS\Data\Range\$length, ILIAS\Data\Range\$start, ILIAS\Data\Range\checkLength(), and ILIAS\Data\Range\checkStart().
|
protected |
Definition at line 38 of file Range.php.
Referenced by ILIAS\Data\Range\__construct(), and ILIAS\Data\Range\withLength().
|
protected |
Definition at line 31 of file Range.php.
Referenced by ILIAS\Data\Range\__construct(), and ILIAS\Data\Range\withStart().
ILIAS\Data\Range::getEnd | ( | ) |
Definition at line 60 of file Range.php.
References ILIAS\Data\Range\$length.
Referenced by RangeTest\testEndCalculation(), RangeTest\testWithLength(), and RangeTest\testWithStart().
ILIAS\Data\Range::getLength | ( | ) |
Definition at line 55 of file Range.php.
References ILIAS\Data\Range\$length.
Referenced by RangeTest\testValues(), RangeTest\testWithLength(), and RangeTest\testWithStart().
ILIAS\Data\Range::getStart | ( | ) |
Definition at line 50 of file Range.php.
References ILIAS\Data\Range\$start.
Referenced by RangeTest\testValues(), RangeTest\testWithLength(), and RangeTest\testWithStart().
ILIAS\Data\Range::unpack | ( | ) |
Definition at line 45 of file Range.php.
References ILIAS\Data\Range\$length, and ILIAS\Data\Range\$start.
Referenced by RangeTest\testUnpack().
ILIAS\Data\Range::withLength | ( | int | $length | ) |
Definition at line 73 of file Range.php.
References ILIAS\Data\Range\$length, and ILIAS\Data\Range\checkLength().
Referenced by RangeTest\testNegativeLength(), RangeTest\testNullLength(), and RangeTest\testWithLength().
ILIAS\Data\Range::withStart | ( | int | $start | ) |
Definition at line 65 of file Range.php.
References ILIAS\Data\Range\$start, and ILIAS\Data\Range\checkStart().
Referenced by RangeTest\testNegativeStart(), and RangeTest\testWithStart().
|
protected |
Definition at line 20 of file Range.php.
Referenced by ILIAS\Data\Range\__construct(), ILIAS\Data\Range\getEnd(), ILIAS\Data\Range\getLength(), ILIAS\Data\Range\unpack(), and ILIAS\Data\Range\withLength().
|
protected |
Definition at line 15 of file Range.php.
Referenced by ILIAS\Data\Range\__construct(), ILIAS\Data\Range\getStart(), ILIAS\Data\Range\unpack(), and ILIAS\Data\Range\withStart().