ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
@template-extends \IteratorAggregate<\ILIAS\Cron\Job\JobEntity> More...
Public Member Functions | |
add (\ILIAS\Cron\Job\JobEntity $job) | |
filter (callable $callable) | |
Returns all the elements of this collection that satisfy the predicate $callable. More... | |
slice (int $offset, ?int $length=null) | |
Extracts a slice of $length elements starting at position $offset from the Collection. More... | |
toArray () | |
@template-extends \IteratorAggregate<\ILIAS\Cron\Job\JobEntity>
Definition at line 26 of file JobCollection.php.
ILIAS\Cron\Job\JobCollection::add | ( | \ILIAS\Cron\Job\JobEntity | $job | ) |
Implemented in ILIAS\Cron\Job\Collection\JobEntities, and ILIAS\Cron\Job\Collection\OrderedJobEntities.
ILIAS\Cron\Job\JobCollection::filter | ( | callable | $callable | ) |
Returns all the elements of this collection that satisfy the predicate $callable.
callable( |
ILIAS\Cron\Job\JobEntity): bool $callable
Implemented in ILIAS\Cron\Job\Collection\JobEntities, and ILIAS\Cron\Job\Collection\OrderedJobEntities.
Referenced by ILIAS\Cron\Job\Manager\UI\JobTableFilterMediator\filteredJobs().
ILIAS\Cron\Job\JobCollection::slice | ( | int | $offset, |
?int | $length = null |
||
) |
Extracts a slice of $length elements starting at position $offset from the Collection.
If $length is null it returns all elements from $offset to the end of the Collection. Calling this method will only return the selected slice and NOT change the elements contained in the collection slice is called on.
int | $offset | The offset to start from. |
int | null | $length | The maximum number of elements to return, or null for no limit. |
Implemented in ILIAS\Cron\Job\Collection\JobEntities, and ILIAS\Cron\Job\Collection\OrderedJobEntities.
ILIAS\Cron\Job\JobCollection::toArray | ( | ) |
Implemented in ILIAS\Cron\Job\Collection\JobEntities, and ILIAS\Cron\Job\Collection\OrderedJobEntities.