Mercurial > hg > Members > shoshi > webvirt
annotate cake/libs/view/layouts/rss/default.ctp @ 0:261e66bd5a0c
hg init
author | Shoshi TAMAKI <shoshi@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 24 Jul 2011 21:08:31 +0900 |
parents | |
children |
rev | line source |
---|---|
0 | 1 <?php |
2 echo $this->Rss->header(); | |
3 | |
4 if (!isset($channel)) { | |
5 $channel = array(); | |
6 } | |
7 if (!isset($channel['title'])) { | |
8 $channel['title'] = $title_for_layout; | |
9 } | |
10 | |
11 echo $this->Rss->document( | |
12 $this->Rss->channel( | |
13 array(), $channel, $content_for_layout | |
14 ) | |
15 ); | |
16 ?> |