Location: PHPKode > projects > Alloy PHP Framework > lib/Alloy/View/Helper/HelperAbstract.php
<?php
namespace Alloy\View\Helper;

/**
 * Base View Helper
 * 
 * @package Alloy
 * @license http://www.opensource.org/licenses/bsd-license.php
 * @link http://alloyframework.com/
 */
abstract class HelperAbstract
{
    protected $kernel;
    protected $_view;
    
    public function __construct(\Alloy\Kernel $kernel, \Alloy\View\Template $view)
    {
        $this->kernel = $kernel;
        $this->_view = $view;
        
        $this->init();
    }
    
    
    /**
     * Initialization called upon instantiation
     * Used so extending classes don't have to override constructor
     */
    public function init() {}
}
Return current item: Alloy PHP Framework