This object is used to deal with an item from a stream

package OWR
subpackage Stream
used_by \OWR\CLI\Controller

 Methods

Constructor We try to harmonize the datas between the different accepted formats

__construct(array $stream, string $version, \OWR\Stream\Reader $reader) 
access public
author Pierre-Alain Mignot

Parameters

$stream

array

the stream to represent

$version

string

the version of the stream (atom, rdf, rss..)

$reader

\OWR\Stream\OWR\Stream\Reader

the stream object

Getter

__get(string $var) : mixed
access public
author Pierre-Alain Mignot

Parameters

$var

string

the var

Returns

mixedthe value on success or false

Getter

get(string $type) : mixed
access public
author Pierre-Alain Mignot

Parameters

$type

string

what do we want ?

Returns

mixedthe value on success or false

 Properties

 

the item

$_item : array
access private
 

version of stream (rss, rdf, atom)

$_version : string
access private