Zend Framework  1.12
Public Member Functions | List of all members
Zend_Feed_Builder_Header_Itunes Class Reference

Public Member Functions

 __construct (array $categories)
 Constructor.
 
 setCategories (array $categories)
 Sets the categories column and in iTunes Music Store Browse $categories must conform to the following format: array(array('main' => 'main category', 'sub' => 'sub category' // optionnal ), // up to 3 rows )
 
 setAuthor ($author)
 Sets the artist value, default to the feed's author value.
 
 setOwner ($name= '', $email= '')
 Sets the owner of the postcast.
 
 setImage ($image)
 Sets the album/podcast art picture Default to the feed's image value.
 
 setSubtitle ($subtitle)
 Sets the short description of the podcast Default to the feed's description.
 
 setSummary ($summary)
 Sets the longer description of the podcast Default to the feed's description.
 
 setBlock ($block)
 Prevent a feed from appearing.
 
 setExplicit ($explicit)
 Configuration of the parental advisory graphic.
 
 setKeywords ($keywords)
 Sets a comma separated list of 12 keywords maximum.
 
 setNewFeedUrl ($url)
 Sets the new feed URL location.
 
 __get ($name)
 Read only properties accessor.
 
 __set ($name, $value)
 Write properties accessor.
 
 __isset ($key)
 Isset accessor.
 
 __unset ($key)
 Unset accessor.
 

Constructor & Destructor Documentation

__construct ( array  $categories)

Constructor.

Parameters
array$categoriesCategories columns and in iTunes Music Store Browse
Returns
void

Member Function Documentation

__get (   $name)

Read only properties accessor.

Parameters
string$nameproperty to read
Returns
mixed
__isset (   $key)

Isset accessor.

Parameters
string$key
Returns
boolean
__set (   $name,
  $value 
)

Write properties accessor.

Parameters
string$namename of the property to set
mixed$valuevalue to set
Returns
void
__unset (   $key)

Unset accessor.

Parameters
string$key
Returns
void
setAuthor (   $author)

Sets the artist value, default to the feed's author value.

Parameters
string$author
Returns
Zend_Feed_Builder_Header_Itunes
setBlock (   $block)

Prevent a feed from appearing.

Parameters
string$blockcan be 'yes' or 'no'
Returns
Zend_Feed_Builder_Header_Itunes
Exceptions
Zend_Feed_Builder_Exception
See Also
Zend_Feed_Builder_Exception
setCategories ( array  $categories)

Sets the categories column and in iTunes Music Store Browse $categories must conform to the following format: array(array('main' => 'main category', 'sub' => 'sub category' // optionnal ), // up to 3 rows )

Parameters
array$categories
Returns
Zend_Feed_Builder_Header_Itunes
Exceptions
Zend_Feed_Builder_Exception
See Also
Zend_Feed_Builder_Exception
Zend_Feed_Builder_Exception
Zend_Feed_Builder_Exception
setExplicit (   $explicit)

Configuration of the parental advisory graphic.

Parameters
string$explicitcan be 'yes', 'no' or 'clean'
Returns
Zend_Feed_Builder_Header_Itunes
Exceptions
Zend_Feed_Builder_Exception
See Also
Zend_Feed_Builder_Exception
setImage (   $image)

Sets the album/podcast art picture Default to the feed's image value.

Parameters
string$image
Returns
Zend_Feed_Builder_Header_Itunes
setKeywords (   $keywords)

Sets a comma separated list of 12 keywords maximum.

Parameters
string$keywords
Returns
Zend_Feed_Builder_Header_Itunes
setNewFeedUrl (   $url)

Sets the new feed URL location.

Parameters
string$url
Returns
Zend_Feed_Builder_Header_Itunes
setOwner (   $name = '',
  $email = '' 
)

Sets the owner of the postcast.

Parameters
string$namedefault to the feed's author value
string$emaildefault to the feed's email value
Returns
Zend_Feed_Builder_Header_Itunes
Exceptions
Zend_Feed_Builder_Exception
See Also
Zend_Validate_EmailAddress
Zend_Feed_Builder_Exception
setSubtitle (   $subtitle)

Sets the short description of the podcast Default to the feed's description.

Parameters
string$subtitle
Returns
Zend_Feed_Builder_Header_Itunes
setSummary (   $summary)

Sets the longer description of the podcast Default to the feed's description.

Parameters
string$summary
Returns
Zend_Feed_Builder_Header_Itunes