RSS Helper class for easy output RSS structures.
$action
public string
$base
public string
$data
public array
$field
public string
$helpers
public array
$here
public string
$model
public string
$params
public array
$version
public string
$Time
public <channel />
element <rss />
tags <item />
element and its contents Transforms an array of data using an optional callback, and maps it to a set of <item />
tags
channel( array $attrib array() , array $elements array() , string $content null )
Returns an RSS <channel />
element
$attrib
optional array() <channel />
tag attributes$elements
optional array() $content
optional null <item />
's belonging to this channel<channel />
document( array $attrib array() , string $content null )
Returns an RSS document wrapped in <rss />
tags
$attrib
optional array() <rss />
tag attributes$content
optional null elem( string $name , array $attrib array() , string|array $content null , boolean $endTag true )
Generates an XML element
$name
$attrib
optional array() $content
optional null $endTag
optional true item( array $att array() , array $elements array() )
Converts an array into an <item />
element and its contents
$att
optional array() <item />
element$elements
optional array() <item />
<item />
elementitems( array $items , string|array $callback null )
Transforms an array of data using an optional callback, and maps it to a set of <item />
tags
$items
$callback
optional null A string function name, or array containing an object and a string method name
<item />
elementstime( integer|string|DateTime $time )
Converts a time in any format to an RSS time
$time
public TimeHelper
© 2005–2016 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/2.9/class-RssHelper.html