summaryrefslogtreecommitdiff
path: root/poc/poc02-compiling-cake/src/workdir/in/app/View/Layouts/rss/default.ctp
blob: 077de6125b1e9731c8f78a3023ac4ccb642ef2bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php
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')
	)
);
?>