ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
ILIAS\BackgroundTasks\Task\Job\JobCollection Interface Reference

-extends <> More...

+ Inheritance diagram for ILIAS\BackgroundTasks\Task\Job\JobCollection:
+ Collaboration diagram for ILIAS\BackgroundTasks\Task\Job\JobCollection:

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 ()
 

Detailed Description

-extends <>

Definition at line 26 of file JobCollection.php.

Member Function Documentation

◆ add()

◆ filter()

ILIAS\BackgroundTasks\Task\Job\JobCollection::filter ( callable  $callable)

Returns all the elements of this collection that satisfy the predicate $callable.

Parameters
callable(

Implemented in ILIAS\BackgroundTasks\Task\Job\Collection\OrderedJobEntities, and ILIAS\BackgroundTasks\Task\Job\Collection\JobEntities.

Referenced by ILIAS\BackgroundTasks\Task\Job\Manager\UI\JobTableFilterMediator\filteredJobs().

+ Here is the caller graph for this function:

◆ slice()

ILIAS\BackgroundTasks\Task\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.

Parameters
int$offsetThe offset to start from.
int | null$lengthThe maximum number of elements to return, or null for no limit.
Returns
static

Implemented in ILIAS\BackgroundTasks\Task\Job\Collection\OrderedJobEntities, and ILIAS\BackgroundTasks\Task\Job\Collection\JobEntities.

◆ toArray()

ILIAS\BackgroundTasks\Task\Job\JobCollection::toArray ( )

The documentation for this interface was generated from the following file: