cakephp2-php8/app/View/Layouts/rss/default.ctp
2013-08-11 11:46:35 +02:00

14 lines
240 B
PHP

<?php
if (!isset($channel)):
$channel = array();
endif;
if (!isset($channel['title'])):
$channel['title'] = $title_for_layout;
endif;
echo $this->Rss->document(
$this->Rss->channel(
array(), $channel, $this->fetch('content')
)
);
?>