/** * Template renderer constructor * * Creates a smarty instance and sets a compile directory path (this is required * by smarty) */ public function __construct(LiveCart $application) { $this->application = $application; $this->registerHelperDirectory(ClassLoader::getRealPath('application.helper.smarty')); $this->registerHelperDirectory(ClassLoader::getRealPath('application.helper.smarty.form')); parent::__construct($application); }