ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
|
Public Member Functions | |
__construct (\ILIAS\Cron\Job\JobEntity ... $jobs) | |
getIterator () | |
count () | |
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 () | |
Private Attributes | |
ArrayIterator | $jobs |
Definition at line 23 of file JobEntities.php.
ILIAS\BackgroundTasks\Task\Job\Collection\JobEntities::__construct | ( | \ILIAS\Cron\Job\JobEntity ... | $jobs | ) |
Definition at line 30 of file JobEntities.php.
ILIAS\BackgroundTasks\Task\Job\Collection\JobEntities::add | ( | \ILIAS\Cron\Job\JobEntity | $job | ) |
Implements ILIAS\BackgroundTasks\Task\Job\JobCollection.
Definition at line 48 of file JobEntities.php.
ILIAS\BackgroundTasks\Task\Job\Collection\JobEntities::count | ( | ) |
Definition at line 43 of file JobEntities.php.
ILIAS\BackgroundTasks\Task\Job\Collection\JobEntities::filter | ( | callable | $callable | ) |
Returns all the elements of this collection that satisfy the predicate $callable.
callable( |
Implements ILIAS\BackgroundTasks\Task\Job\JobCollection.
Definition at line 53 of file JobEntities.php.
ILIAS\BackgroundTasks\Task\Job\Collection\JobEntities::getIterator | ( | ) |
Definition at line 38 of file JobEntities.php.
References ILIAS\BackgroundTasks\Task\Job\Collection\JobEntities\$jobs.
ILIAS\BackgroundTasks\Task\Job\Collection\JobEntities::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. |
Implements ILIAS\BackgroundTasks\Task\Job\JobCollection.
Definition at line 58 of file JobEntities.php.
ILIAS\BackgroundTasks\Task\Job\Collection\JobEntities::toArray | ( | ) |
Implements ILIAS\BackgroundTasks\Task\Job\JobCollection.
Definition at line 66 of file JobEntities.php.
|
private |
Definition at line 28 of file JobEntities.php.
Referenced by ILIAS\BackgroundTasks\Task\Job\Collection\JobEntities\getIterator().