|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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.
References ILIAS\Data\Range\$length.
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.
References ILIAS\Data\Range\$start.
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 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(), 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\Blog\Contributor\ContributorRetrieval\applyRange(), ILIAS\UI\examples\Table\Data\base(), ilAssQuestionList\buildLimitQueryExpression(), ilUserCertificateRepository\fetchCertificatesForOverviewCount(), ILIAS\Test\Questions\Presentation\QuestionsOfAttemptTable\getData(), ILIAS\Test\Questions\RandomQuestionSetNonAvailablePoolsTable\getData(), ilLanguageFolderTable\getItems(), ilLanguageStatisticsTable\getItems(), ilBiblLibraryTableGUI\getRecords(), ILIAS\Cron\Job\Manager\UI\JobTable\getRecords(), ILIAS\LDAP\Server\UI\ServerTable\getRecords(), ILIAS\Mail\Attachments\MailAttachmentTableGUI\getRecords(), ilSamlIdpTableGUI\getRecords(), ILIAS\Forum\Moderation\ForumModeratorsTable\getRecords(), ilDidacticTemplateSettingsTableDataRetrieval\getRecords(), ILIAS\Registration\RegistrationCodesTable\getRecords(), 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(), ILIAS\Calendar\ConsultationHours\BookingDataProvider\limitData(), ILIAS\Conditions\Configuration\ConditionTriggerProvider\limitData(), ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable\limitRecords(), ILIAS\Chatroom\Bans\BannedUsersTable\limitRecords(), ILIAS\Contact\MailingLists\MailingListsMembersTable\limitRecords(), ILIAS\Contact\MailingLists\MailingListsTable\limitRecords(), ILIAS\Contact\MemberSearch\MailMemberSearchTable\limitRecords(), ILIAS\Forum\Drafts\ForumDraftsTable\limitRecords(), ILIAS\Forum\Notification\ForumNotificationTable\limitRecords(), ILIAS\Forum\Statistics\ForumStatisticsTable\limitRecords(), LDAPRoleAssignmentTable\limitRecords(), LDAPRoleMappingTable\limitRecords(), ilMailTemplateTable\limitRecords(), ILIAS\Test\Participants\ParticipantTable\limitRecords(), ILIAS\TestQuestionPool\Skills\SkillUsagesTable\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\Blog\Contributor\ContributorRetrieval\applyRange(), ILIAS\UI\examples\Table\Data\base(), ilAssQuestionList\buildLimitQueryExpression(), ILIAS\Data\Range\croppedTo(), ilUserCertificateRepository\fetchCertificatesForOverviewCount(), ILIAS\UI\Implementation\Component\Input\ViewControl\Renderer\findCurrentPage(), ILIAS\Test\Questions\Presentation\QuestionsOfAttemptTable\getData(), ILIAS\Test\Questions\RandomQuestionSetNonAvailablePoolsTable\getData(), ilLanguageFolderTable\getItems(), ilLanguageStatisticsTable\getItems(), ilBiblLibraryTableGUI\getRecords(), ILIAS\Cron\Job\Manager\UI\JobTable\getRecords(), ILIAS\LDAP\Server\UI\ServerTable\getRecords(), ILIAS\Mail\Attachments\MailAttachmentTableGUI\getRecords(), ilSamlIdpTableGUI\getRecords(), ILIAS\Forum\Moderation\ForumModeratorsTable\getRecords(), ilDidacticTemplateSettingsTableDataRetrieval\getRecords(), ILIAS\Registration\RegistrationCodesTable\getRecords(), 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(), ILIAS\Calendar\ConsultationHours\BookingDataProvider\limitData(), ILIAS\Conditions\Configuration\ConditionTriggerProvider\limitData(), ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable\limitRecords(), ILIAS\Chatroom\Bans\BannedUsersTable\limitRecords(), ILIAS\Contact\MailingLists\MailingListsMembersTable\limitRecords(), ILIAS\Contact\MailingLists\MailingListsTable\limitRecords(), ILIAS\Contact\MemberSearch\MailMemberSearchTable\limitRecords(), ILIAS\Forum\Drafts\ForumDraftsTable\limitRecords(), ILIAS\Forum\Notification\ForumNotificationTable\limitRecords(), ILIAS\Forum\Statistics\ForumStatisticsTable\limitRecords(), LDAPRoleAssignmentTable\limitRecords(), LDAPRoleMappingTable\limitRecords(), ilMailTemplateTable\limitRecords(), ILIAS\Test\Participants\ParticipantTable\limitRecords(), ILIAS\TestQuestionPool\Skills\SkillUsagesTable\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(), 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 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\checkLength(), 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\checkStart(), ILIAS\Data\Range\getStart(), ILIAS\Data\Range\unpack(), and ILIAS\Data\Range\withStart().