cakephp2-php8/cake/libs/view/layouts/rss/default.ctp
2008-05-30 11:40:08 +00:00

17 lines
No EOL
238 B
PHP

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