<?php
/**
 * Netgo_News extension
 * 
 * NOTICE OF LICENSE
 * 
 * This source file is subject to the MIT License
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/mit-license.php
 * 
 * @category       Netgo
 * @package        Netgo_News
 * @copyright      Copyright (c) 2015
 * @license        http://opensource.org/licenses/mit-license.php MIT License
 */
/**
 * News view block
 *
 * @category    Netgo
 * @package     Netgo_News
 * @author      Ultimate Module Creator
 */
class Netgo_News_Block_News_View
    extends Mage_Core_Block_Template {
    /**
     * get the current news
     * @access public
     * @return mixed (Netgo_News_Model_News|null)
     * @author Ultimate Module Creator
     */
    public function getCurrentNews(){
        return Mage::registry('current_news');
    }
}
