public function addSmartyTarget($display, $content, $default = false)
    {
        $target = new CNabuBuiltInSiteTarget();
        $target->setMIMETypeId('text/html')
               ->setOutputTypeHTML()
               ->setSmartyDisplayFile($display)
               ->setSmartyContentFile($content)
        ;

        return $this->addTarget($target, $default);
    }
public function addSmartyTarget($display, $content, $default = false)
    {
        $target = new CNabuBuiltInSiteTarget();
        $target->setMIMETypeId('text/html')
               ->setOutputTypeHTML()
               ->setSmartyDisplayFile($display)
               ->setSmartyContentFile($content)
        ;

        return $this->addTarget($target, $default);
    }
public function addSmartyTarget ( $ display , $ content , $ default = false ) { $ target = new CNabuBuiltInSiteTarget ( ) ; $ target -> setMIMETypeId ( 'text/html' ) -> setOutputTypeHTML ( ) -> setSmartyDisplayFile ( $ display ) -> setSmartyContentFile ( $ content ) ; return $ this -> addTarget ( $ target , $ default ) ; }
Add a target using Smarty template files
@param string $display Path to Smarty Display file.
@param type $content Path to Smarty Content file.
@return CNabuSiteTarget Returns the created target instance.
Add a target using Smarty template files