Zend Framework  3.0
Public Member Functions | Protected Attributes | List of all members
Entry Class Reference

Public Member Functions

 __construct ()
 
 setEncoding ($enc)
 Set feed encoding.
 
 getEncoding ()
 Get feed encoding.
 
 setItunesBlock ($value)
 Set a block value of "yes" or "no".
 
 addItunesAuthors (array $values)
 Add authors to itunes entry.
 
 addItunesAuthor ($value)
 Add author to itunes entry.
 
 setItunesDuration ($value)
 Set duration.
 
 setItunesExplicit ($value)
 Set "explicit" flag.
 
 setItunesKeywords (array $value)
 Set keywords.
 
 setItunesSubtitle ($value)
 Set subtitle.
 
 setItunesSummary ($value)
 Set summary.
 
 __call ($method, array $params)
 Overloading to itunes specific setters.
 

Protected Attributes

 $data = []
 
 $encoding = 'UTF-8'
 
 $stringWrapper
 

Constructor & Destructor Documentation

__construct ( )

Member Function Documentation

__call (   $method,
array  $params 
)

Overloading to itunes specific setters.

Parameters
string$method
array$params
Exceptions
Writer\Exception\BadMethodCallException
Returns
mixed
addItunesAuthor (   $value)

Add author to itunes entry.

Parameters
string$value
Returns
Entry
Exceptions
Writer\Exception\InvalidArgumentException
addItunesAuthors ( array  $values)

Add authors to itunes entry.

Parameters
array$values
Returns
Entry
getEncoding ( )

Get feed encoding.

Returns
string
setEncoding (   $enc)

Set feed encoding.

Parameters
string$enc
Returns
Entry
setItunesBlock (   $value)

Set a block value of "yes" or "no".

You may also set an empty string.

Parameters
string
Returns
Entry
Exceptions
Writer\Exception\InvalidArgumentException
setItunesDuration (   $value)

Set duration.

Parameters
int$value
Returns
Entry
Exceptions
Writer\Exception\InvalidArgumentException
setItunesExplicit (   $value)

Set "explicit" flag.

Parameters
bool$value
Returns
Entry
Exceptions
Writer\Exception\InvalidArgumentException
setItunesKeywords ( array  $value)

Set keywords.

Parameters
array$value
Returns
Entry
Exceptions
Writer\Exception\InvalidArgumentException
setItunesSubtitle (   $value)

Set subtitle.

Parameters
string$value
Returns
Entry
Exceptions
Writer\Exception\InvalidArgumentException
setItunesSummary (   $value)

Set summary.

Parameters
string$value
Returns
Entry
Exceptions
Writer\Exception\InvalidArgumentException

Member Data Documentation

$data = []
protected
$encoding = 'UTF-8'
protected
$stringWrapper
protected