cakephp2-php8/lib/Cake/View/Layouts/rss/default.ctp
2011-05-13 02:45:36 -04:30

16 lines
No EOL
255 B
PHP

<?php
echo $this->Rss->header();
if (!isset($channel)) {
$channel = array();
}
if (!isset($channel['title'])) {
$channel['title'] = $title_for_layout;
}
echo $this->Rss->document(
$this->Rss->channel(
array(), $channel, $content_for_layout
)
);
?>