Show NewsController.php syntax highlighted
<?php
/**
* Astrum Futura: Open Source Space Strategy Game
*
* LICENSE
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@astrumfutura.com so we can send you a copy immediately.
*
* @category Astrum
* @package Astrum_Controller
* @copyright Copyright (c) 2006 Pádraic Brady (http://blog.quantum-star.com)
* @license http://www.gnu.org/copyleft/gpl.html GNU General Public License
* @version $Id: NewsController.php 82 2006-12-28 19:08:31Z maugrim_t_r $
*/
/**
* About Controller
*
* @category Astrum
* @package Astrum_Controller
* @copyright Copyright (c) 2006 Pádraic Brady (http://blog.quantum-star.com)
* @license http://www.gnu.org/copyleft/gpl.html GNU General Public License
*/
class NewsController extends Astrum_Controller_Action
{
public function indexAction()
{
$this->getResponse()->appendBody(
$this->_view->render('news_index.tpl.html')
);
}
public function rssAction()
{
}
public function atomAction()
{
}
}
See more files for this project here