Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
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 (   $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
\InvalidArgumentException

Member Function Documentation

count ( )

Countable

getIterator ( )

IteratorAggregate

offsetExists (   $offset)

ArrayAccess: Check whether the given offset exists.

offsetGet (   $offset)

ArrayAccess: Get the value at the given offset.

offsetSet (   $offset,
  $value 
)

ArrayAccess: Set the value at the given offset.

offsetUnset (   $offset)

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

toArray ( )

return representation of the current stream as an array

Returns
array

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