Stud.IP  5.4
Stream Class Reference
Inheritance diagram for Stream:

Public Member Functions

 __construct ($contexts, Filter $filter)
 
 offsetExists ($offset)
 
 offsetGet ($offset)
 
 offsetSet ($offset, $value)
 
 offsetUnset ($offset)
 
 getIterator ()
 
 count ()
 
 toArray ()
 

Constructor & Destructor Documentation

◆ __construct()

__construct (   $contexts,
Filter  $filter 
)

creates a stream representing the activities for the passed contexts, filter by time (if any)

Parameters
array$contextsAll contexts that need to be considered
\Studip\Activity\Filter$filter
Exceptions

Member Function Documentation

◆ count()

count ( )

Countable

◆ getIterator()

getIterator ( )

IteratorAggregate

◆ offsetExists()

offsetExists (   $offset)

ArrayAccess: Check whether the given offset exists.

◆ offsetGet()

offsetGet (   $offset)

ArrayAccess: Get the value at the given offset.

◆ offsetSet()

offsetSet (   $offset,
  $value 
)

ArrayAccess: Set the value at the given offset.

◆ offsetUnset()

offsetUnset (   $offset)

ArrayAccess: unset the value at the given offset (not applicable)

◆ toArray()

toArray ( )

return representation of the current stream as an array

Returns
array

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