|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
A simple class to express a naive range of whole positive numbers. More...
Collaboration diagram for ILIAS\Data\Range:Public Member Functions | |
| __construct (int $start, int $length) | |
| unpack () | |
| getStart () | |
| getLength () | |
| getEnd () | |
| withStart (int $start) | |
| withLength (int $length) | |
| croppedTo (int $max) | |
| This will create a range that is guaranteed to not exceed $max. More... | |
Protected Member Functions | |
| checkStart (int $start) | |
| checkLength (int $length) | |
Protected Attributes | |
| int | $start |
| int | $length |
A simple class to express a naive range of whole positive numbers.
| ILIAS\Data\Range::__construct | ( | int | $start, |
| int | $length | ||
| ) |
Definition at line 33 of file Range.php.
References ILIAS\Data\Range\$length, ILIAS\Data\Range\$start, ILIAS\Data\Range\checkLength(), and ILIAS\Data\Range\checkStart().
Here is the call graph for this function:
|
protected |
Definition at line 48 of file Range.php.
Referenced by ILIAS\Data\Range\__construct(), and ILIAS\Data\Range\withLength().
Here is the caller graph for this function:
|
protected |
Definition at line 41 of file Range.php.
Referenced by ILIAS\Data\Range\__construct(), and ILIAS\Data\Range\withStart().
Here is the caller graph for this function:| ILIAS\Data\Range::croppedTo | ( | int | $max | ) |
This will create a range that is guaranteed to not exceed $max.
Definition at line 98 of file Range.php.
References ILIAS\Data\Range\getEnd(), ILIAS\Data\Range\getStart(), and ILIAS\Data\Range\withLength().
Referenced by ILIAS\UI\Implementation\Component\Table\Data\applyViewControls(), and RangeTest\testCroppedTo().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Data\Range::getEnd | ( | ) |
Definition at line 70 of file Range.php.
References ILIAS\Data\Range\$length.
Referenced by ILIAS\Data\Range\croppedTo(), ILIAS\UI\Implementation\Component\Input\ViewControl\Renderer\findCurrentPage(), ilMediaCastManageTableGUI\getRows(), RangeTest\testEndCalculation(), RangeTest\testWithLength(), and RangeTest\testWithStart().
Here is the caller graph for this function:| ILIAS\Data\Range::getLength | ( | ) |
Definition at line 65 of file Range.php.
References ILIAS\Data\Range\$length.
Referenced by ILIAS\UI\examples\Table\Data\base(), ILIAS\Test\Logging\TestLoggingDatabaseRepository\buildInteractionsStatementWithLimitAndOrder(), ilAssQuestionList\buildLimitQueryExpression(), ilUserCertificateRepository\fetchCertificatesForOverview(), ilUserCertificateRepository\fetchCertificatesForOverviewCount(), ilStudyProgrammeTypeDBRepository\getAllTypes(), ILIAS\Test\Questions\RandomQuestionSetNonAvailablePoolsTable\getData(), ILIAS\Test\Questions\Presentation\QuestionsOfAttemptTable\getData(), ilLanguageStatisticsTable\getItems(), ilLanguageFolderTable\getItems(), ilRbacLog\getLogItems(), ilDidacticTemplateSettingsTableDataRetrieval\getRecords(), ilBiblLibraryTableGUI\getRecords(), ILIAS\Dashboard\DataRetrieval\Language\getRows(), ILIAS\Test\Scoring\Manual\ScoringByQuestionTableBinder\getRows(), ilBadgePersonalTableGUI\getRows(), ILIAS\components\ResourceStorage\Container\View\RequestToDataTable\getRows(), ILIAS\Mail\Folder\MailFolderTableUI\getRows(), ilOrgUnitTypeGUI\getTableDataRetrieval(), ILIAS\UI\Implementation\Component\Table\getViewControlPagination(), ILIAS\MetaData\Settings\Vocabularies\DataRetrieval\getVocabs(), ILIAS\components\ResourceStorage\Collections\View\RequestToDataTable\initSortingAndOrdering(), ILIAS\components\ResourceStorage\Container\View\RequestToDataTable\initSortingAndOrdering(), ilPresentationTableGUI\initViewControl(), ILIAS\Conditions\Configuration\ConditionTriggerProvider\limitData(), ILIAS\Calendar\ConsultationHours\BookingDataProvider\limitData(), ILIAS\Forum\Drafts\ForumDraftsTable\limitRecords(), ILIAS\Forum\Statistics\ForumStatisticsTable\limitRecords(), ILIAS\Test\Participants\ParticipantTable\limitRecords(), RangeTest\testValues(), RangeTest\testWithLength(), and RangeTest\testWithStart().
Here is the caller graph for this function:| ILIAS\Data\Range::getStart | ( | ) |
Definition at line 60 of file Range.php.
References ILIAS\Data\Range\$start.
Referenced by ILIAS\UI\Implementation\Component\Table\Data\applyViewControls(), ILIAS\UI\examples\Table\Data\base(), ILIAS\Test\Logging\TestLoggingDatabaseRepository\buildInteractionsStatementWithLimitAndOrder(), ilAssQuestionList\buildLimitQueryExpression(), ILIAS\Data\Range\croppedTo(), ilUserCertificateRepository\fetchCertificatesForOverview(), ilUserCertificateRepository\fetchCertificatesForOverviewCount(), ILIAS\UI\Implementation\Component\Input\ViewControl\Renderer\findCurrentPage(), ilStudyProgrammeTypeDBRepository\getAllTypes(), ILIAS\Test\Questions\RandomQuestionSetNonAvailablePoolsTable\getData(), ILIAS\Test\Questions\Presentation\QuestionsOfAttemptTable\getData(), ilLanguageStatisticsTable\getItems(), ilLanguageFolderTable\getItems(), ilRbacLog\getLogItems(), ilDidacticTemplateSettingsTableDataRetrieval\getRecords(), ilBiblLibraryTableGUI\getRecords(), ILIAS\Dashboard\DataRetrieval\Language\getRows(), ILIAS\Test\Scoring\Manual\ScoringByQuestionTableBinder\getRows(), ilBadgePersonalTableGUI\getRows(), ILIAS\components\ResourceStorage\Container\View\RequestToDataTable\getRows(), ILIAS\Mail\Folder\MailFolderTableUI\getRows(), ilOrgUnitTypeGUI\getTableDataRetrieval(), ILIAS\UI\Implementation\Component\Table\getViewControlPagination(), ILIAS\MetaData\Settings\Vocabularies\DataRetrieval\getVocabs(), ILIAS\components\ResourceStorage\Collections\View\RequestToDataTable\initSortingAndOrdering(), ILIAS\components\ResourceStorage\Container\View\RequestToDataTable\initSortingAndOrdering(), ilPresentationTableGUI\initViewControl(), ILIAS\Conditions\Configuration\ConditionTriggerProvider\limitData(), ILIAS\Calendar\ConsultationHours\BookingDataProvider\limitData(), ILIAS\Forum\Drafts\ForumDraftsTable\limitRecords(), ILIAS\Forum\Statistics\ForumStatisticsTable\limitRecords(), ILIAS\Test\Participants\ParticipantTable\limitRecords(), ILIAS\UI\Implementation\Component\Input\ViewControl\Renderer\renderPagination(), RangeTest\testValues(), RangeTest\testWithLength(), and RangeTest\testWithStart().
Here is the caller graph for this function:| ILIAS\Data\Range::unpack | ( | ) |
Definition at line 55 of file Range.php.
References ILIAS\Data\Range\$length, and ILIAS\Data\Range\$start.
Referenced by ILIAS\UI\examples\Table\Data\DataTableDemoRepo\doSelect(), ilOrgUnitPositionDBRepository\getAllPositions(), ILIAS\UI\Implementation\Component\Input\ViewControl\Pagination\getCorrectOffsetForPageSize(), ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable\getData(), ilOrgUnitUserAssignmentDBRepository\getUserDataByOrgUnitsAndPosition(), and RangeTest\testUnpack().
Here is the caller graph for this function:| ILIAS\Data\Range::withLength | ( | int | $length | ) |
Definition at line 87 of file Range.php.
References ILIAS\Data\Range\$length, and ILIAS\Data\Range\checkLength().
Referenced by ILIAS\Data\Range\croppedTo(), RangeTest\testNegativeLength(), and RangeTest\testWithLength().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Data\Range::withStart | ( | int | $start | ) |
Definition at line 79 of file Range.php.
References ILIAS\Data\Range\$start, and ILIAS\Data\Range\checkStart().
Referenced by ILIAS\UI\Implementation\Component\Table\Data\applyViewControls(), RangeTest\testNegativeStart(), and RangeTest\testWithStart().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 31 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 30 of file Range.php.
Referenced by ILIAS\Data\Range\__construct(), ILIAS\Data\Range\getStart(), ILIAS\Data\Range\unpack(), and ILIAS\Data\Range\withStart().