Ejemplo n.º 1
0
 /**
  * call a engines object to process create caches and merge files. processing: merge, or compress codes, and create a new files
  *
  * @param array $output has two dimension which contain css, js collections.
  * @param string $body is HTML source
  * @return string is HTML source;
  */
 function processing($output, $body)
 {
     if ($engine = PlgIceSpeedHelper::getOpitimizeEngine($this->params->get('optimize_engine', 'minify'))) {
         return $engine->process($this->params, $output, $body);
     }
     return $body;
 }