Feed/Builder/Header/Itunes.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Feed
- Version
- $Id$
\Zend_Feed_Builder_Header_Itunes
Package: Zend_FeedITunes rss extension
Classes used to describe the itunes channel extension
- Parent(s)
- \ArrayObject
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Methods



__construct(array $categories) : voidParameters| Name | Type | Description |
|---|
| $categories | array | Categories columns and in iTunes Music Store Browse |
|---|



__get(string $name) : mixedRead only properties accessor
Parameters| Name | Type | Description |
|---|
| $name | string | property to read |
|---|
Returns 


__set(string $name, mixed $value) : voidWrite properties accessor
Parameters| Name | Type | Description |
|---|
| $name | string | name of the property to set |
|---|
| $value | mixed | value to set |
|---|



setAuthor(string $author) : \Zend_Feed_Builder_Header_ItunesSets the artist value, default to the feed's author value
Parameters| Name | Type | Description |
|---|
| $author | string | |
|---|
Returns 


setBlock(string $block) : \Zend_Feed_Builder_Header_ItunesPrevent a feed from appearing
Parameters| Name | Type | Description |
|---|
| $block | string | can be 'yes' or 'no' |
|---|
ReturnsThrows 


setCategories(array $categories) : \Zend_Feed_Builder_Header_ItunesSets 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| Name | Type | Description |
|---|
| $categories | array | |
|---|
ReturnsThrows 


setExplicit(string $explicit) : \Zend_Feed_Builder_Header_ItunesConfiguration of the parental advisory graphic
Parameters| Name | Type | Description |
|---|
| $explicit | string | can be 'yes', 'no' or 'clean' |
|---|
ReturnsThrows 


setImage(string $image) : \Zend_Feed_Builder_Header_ItunesSets the album/podcast art picture
Default to the feed's image value
Parameters| Name | Type | Description |
|---|
| $image | string | |
|---|
Returns 


setKeywords(string $keywords) : \Zend_Feed_Builder_Header_ItunesSets a comma separated list of 12 keywords maximum
Parameters| Name | Type | Description |
|---|
| $keywords | string | |
|---|
Returns 


setOwner(string $name = '', string $email = '') : \Zend_Feed_Builder_Header_ItunesSets the owner of the postcast
Parameters| Name | Type | Description |
|---|
| $name | string | default to the feed's author value |
|---|
| $email | string | default to the feed's email value |
|---|
ReturnsThrows 


setSubtitle(string $subtitle) : \Zend_Feed_Builder_Header_ItunesSets the short description of the podcast
Default to the feed's description
Parameters| Name | Type | Description |
|---|
| $subtitle | string | |
|---|
Returns 


setSummary(string $summary) : \Zend_Feed_Builder_Header_ItunesSets the longer description of the podcast
Default to the feed's description
Parameters| Name | Type | Description |
|---|
| $summary | string | |
|---|
Returns