src/core/framework/core/3rdparty/dwoo/Dwoo/Adapters/ZendFramework/View.php
public function getTemplateFile($template) {
		$templateFileClass = $this->_templateFileClass;		

		$dwooTemplateFile = new $templateFileClass($template);
		
		if (!($dwooTemplateFile instanceof Dwoo_ITemplate)) {
			throw new Dwoo_Exception("Custom templateFile class must be a subclass of Dwoo_ITemplate");
		}

		foreach ($this->_templateFileSettings as $method => $value) {
			if (method_exists($dwooTemplateFile, 'set' . $method)) {
				call_user_func(array($dwooTemplateFile, 'set' . $method), $value);
			}
		}
		
		return $dwooTemplateFile;
	}
public function getTemplateFile($template) {
		$templateFileClass = $this->_templateFileClass;		

		$dwooTemplateFile = new $templateFileClass($template);
		
		if (!($dwooTemplateFile instanceof Dwoo_ITemplate)) {
			throw new Dwoo_Exception("Custom templateFile class must be a subclass of Dwoo_ITemplate");
		}

		foreach ($this->_templateFileSettings as $method => $value) {
			if (method_exists($dwooTemplateFile, 'set' . $method)) {
				call_user_func(array($dwooTemplateFile, 'set' . $method), $value);
			}
		}
		
		return $dwooTemplateFile;
	}
public function getTemplateFile ( $ template ) { $ templateFileClass = $ this -> _templateFileClass ; $ dwooTemplateFile = new $ templateFileClass ( $ template ) ; if ( ! ( $ dwooTemplateFile instanceof Dwoo_ITemplate ) ) { throw new Dwoo_Exception ( "Custom templateFile class must be a subclass of Dwoo_ITemplate" ) ; } foreach ( $ this -> _templateFileSettings as $ method => $ value ) { if ( method_exists ( $ dwooTemplateFile , 'set' . $ method ) ) { call_user_func ( array ( $ dwooTemplateFile , 'set' . $ method ) , $ value ) ; } } return $ dwooTemplateFile ; }
Initializes Dwoo_ITemplate type of class and sets properties from _templateFileSettings

@param  string Template location
@return Dwoo_ITemplate
Initializes Dwoo_ITemplate type of class and sets properties from _templateFileSettings