Blame view

src/Template/Layout/rss/default.ctp 237 Bytes
6c4edfa3   Alexandre   First Commit LabI...
1
<?php
63c3cb16   epallier   Nombreux petits b...
2
if (! isset($channel)) :
6c4edfa3   Alexandre   First Commit LabI...
3
4
    $channel = [];
endif;
63c3cb16   epallier   Nombreux petits b...
5
6

if (! isset($channel['title'])) :
6c4edfa3   Alexandre   First Commit LabI...
7
8
9
    $channel['title'] = $this->fetch('title');
endif;

63c3cb16   epallier   Nombreux petits b...
10
echo $this->Rss->document($this->Rss->channel([], $channel, $this->fetch('content')));
6c4edfa3   Alexandre   First Commit LabI...
11
?>