All pastes #834556 Raw Edit

Anonymous

public css v1 · immutable
#834556 ·published 2007-12-28 08:45 UTC
rendered paste body
<?phpclass View extends Smarty{		protected $_layout = null;	   public function __construct($layout = null)    {		$this->Smarty();		$this->setLayout($layout);	}		public function setLayout($layout)	{		$this->_layout = $layout;		}		public function getLayout()	{		return $this->_layout;	}	   public function display($resource_name, $cache_id = null, $compile_id = null)    {		$this->assign('content_for_layout', $this->fetch($resource_name, $cache_id, $compile_id));      parent::display($this->getLayout(), $cache_id, $compile_id);            }}?>