/** * Outputs the template to the browser. * * @param boolean $cache If true, cache the output * @param array $params Associative array of attributes * * @return The rendered data * * @since 11.1 */ public function render($caching = false, $params = array()) { $this->_caching = $caching; $this->parse($params); $data = $this->_renderTemplate(); $data = '<!-- Begin: SEBLOD 3.x Document { www.seblod.com } -->' . $data . '<!-- End: SEBLOD 3.x (App Builder & CCK for Joomla!) { www.seblod.com } -->'; parent::render(); return $data; }
/** * Outputs the template to the browser. * * @param boolean $cache If true, cache the output * @param array $params Associative array of attributes * * @return The rendered data * * @since 11.1 */ public function render($caching = false, $params = array()) { $this->_caching = $caching; $this->parse($params); $data = $this->_renderTemplate(); if ((int) JCck::getConfig_Param('debug', 0) > 0) { $data = '<!-- Begin: SEBLOD 3.x Document -->' . $data . '<!-- End: SEBLOD 3.x Document -->'; } parent::render(); return $data; }