cakephp2-php8/lib/Cake/Console/Templates/skel/View/Layouts/rss/default.ctp

14 lines
No EOL
227 B
PHP

<?php
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
)
);
?>