PHP Classes
elePHPant
Icontem

File: View/Layouts/rss/default.ctp

Recommend this page to a friend!
  Classes of Andraž  >  pingvincek  >  View/Layouts/rss/default.ctp  >  Download  
File: View/Layouts/rss/default.ctp
Role: Example script
Content type: text/plain
Description: Example script
Class: pingvincek
Manage a site for organizing dates between people
Author: By
Last change:
Date: 2 years ago
Size: 244 bytes
 

 

Contents

Class file image Download
<?php
if (!isset($channel)):
   
$channel = array();
endif;
if (!isset(
$channel['title'])):
   
$channel['title'] = $this->fetch('title');
endif;

echo
$this->Rss->document(
   
$this->Rss->channel(
        array(),
$channel, $this->fetch('content')
    )
);
?>