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

Public Member Functions

 __construct ()
 Constructor.
 
 setEncoding ($enc)
 Set feed encoding.
 
 getEncoding ()
 Get feed encoding.
 
 setItunesBlock ($value)
 Set a block value of "yes" or "no".
 
 addItunesAuthors (array $values)
 Add feed authors.
 
 addItunesAuthor ($value)
 Add feed author.
 
 setItunesCategories (array $values)
 Set feed categories.
 
 setItunesImage ($value)
 Set feed image (icon)
 
 setItunesDuration ($value)
 Set feed cumulative duration.
 
 setItunesExplicit ($value)
 Set "explicit" flag.
 
 setItunesKeywords (array $value)
 Set feed keywords.
 
 setItunesNewFeedUrl ($value)
 Set new feed URL.
 
 addItunesOwners (array $values)
 Add feed owners.
 
 addItunesOwner (array $value)
 Add feed owner.
 
 setItunesSubtitle ($value)
 Set feed subtitle.
 
 setItunesSummary ($value)
 Set feed summary.
 
 __call ($method, array $params)
 Overloading: proxy to internal setters.
 

Protected Attributes

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

Constructor & Destructor Documentation

__construct ( )

Constructor.

Member Function Documentation

__call (   $method,
array  $params 
)

Overloading: proxy to internal setters.

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

Add feed author.

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

Add feed authors.

Parameters
array$values
Returns
Feed
addItunesOwner ( array  $value)

Add feed owner.

Parameters
array$value
Returns
Feed
Exceptions
Writer\Exception\InvalidArgumentException
addItunesOwners ( array  $values)

Add feed owners.

Parameters
array$values
Returns
Feed
getEncoding ( )

Get feed encoding.

Returns
string
setEncoding (   $enc)

Set feed encoding.

Parameters
string$enc
Returns
Feed
setItunesBlock (   $value)

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

You may also set an empty string.

Parameters
string
Returns
Feed
Exceptions
Writer\Exception\InvalidArgumentException
setItunesCategories ( array  $values)

Set feed categories.

Parameters
array$values
Returns
Feed
Exceptions
Writer\Exception\InvalidArgumentException
setItunesDuration (   $value)

Set feed cumulative duration.

Parameters
string$value
Returns
Feed
Exceptions
Writer\Exception\InvalidArgumentException
setItunesExplicit (   $value)

Set "explicit" flag.

Parameters
bool$value
Returns
Feed
Exceptions
Writer\Exception\InvalidArgumentException
setItunesImage (   $value)

Set feed image (icon)

Parameters
string$value
Returns
Feed
Exceptions
Writer\Exception\InvalidArgumentException
setItunesKeywords ( array  $value)

Set feed keywords.

Parameters
array$value
Returns
Feed
Exceptions
Writer\Exception\InvalidArgumentException
setItunesNewFeedUrl (   $value)

Set new feed URL.

Parameters
string$value
Returns
Feed
Exceptions
Writer\Exception\InvalidArgumentException
setItunesSubtitle (   $value)

Set feed subtitle.

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

Set feed summary.

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

Member Data Documentation

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