Ejemplo n.º 1
0
 /**
  * Start cache process
  * @param mixed  $params
  * @param string $type
  * @return mixed
  */
 public function start($params = null, $type = null)
 {
     return null;
     // disibled
     !$type && ($type = $this->app->jbrequest->get('view'));
     !$type && ($type = $this->app->jbrequest->get('task'));
     $application = $this->app->zoo->getApplication();
     if ($application) {
         $group = 'jbzoo_' . $application->alias . '_' . $type;
     } else {
         $group = 'jbzoo_' . $type;
     }
     $this->_cache = JFactory::getCache($group, 'output');
     $result = $this->_cache->start($this->_getKey($params));
     return $result;
 }