dreamjob/lib/Cake/Test/test_app/View/Layouts/rss/default.ctp

17 lines
260 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, $this->fetch('content')
)
);
?>