cakephp2-php8/cake/libs/view/layouts/rss/default.ctp
2007-12-14 18:59:26 +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
)
);
?>