ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
__construct (ilCronJobEntity ... $jobs) | |
getIterator () | |
count () | |
add (ilCronJobEntity $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 21 of file class.ilCronJobEntities.php.
ilCronJobEntities::__construct | ( | ilCronJobEntity ... | $jobs | ) |
Definition at line 25 of file class.ilCronJobEntities.php.
ilCronJobEntities::add | ( | ilCronJobEntity | $job | ) |
Implements ilCronJobCollection.
Definition at line 43 of file class.ilCronJobEntities.php.
Referenced by CronJobEntityTest\testCollectionCanBeChanged().
ilCronJobEntities::count | ( | ) |
Definition at line 38 of file class.ilCronJobEntities.php.
ilCronJobEntities::filter | ( | callable | $callable | ) |
Returns all the elements of this collection that satisfy the predicate $callable.
callable | $callable |
Implements ilCronJobCollection.
Definition at line 48 of file class.ilCronJobEntities.php.
Referenced by CronJobEntityTest\testCollectionCanBeFilteredAndSliced().
ilCronJobEntities::getIterator | ( | ) |
Definition at line 33 of file class.ilCronJobEntities.php.
References $jobs.
ilCronJobEntities::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 ilCronJobCollection.
Definition at line 53 of file class.ilCronJobEntities.php.
Referenced by CronJobEntityTest\testCollectionCanBeFilteredAndSliced().
ilCronJobEntities::toArray | ( | ) |
Implements ilCronJobCollection.
Definition at line 61 of file class.ilCronJobEntities.php.
Referenced by CronJobEntityTest\testCollectionCanBeChanged().
|
private |
Definition at line 23 of file class.ilCronJobEntities.php.
Referenced by getIterator().