/** * */ protected function processInlineStyle() { if (isset($this->render_inline_styles) && is_array($this->render_inline_styles)) { foreach ($this->render_inline_styles as $inlinegroup) { parent::processInlineStyle($inlinegroup); $this->cache->writeInlineStyleFile($inlinegroup); $this->finishedRendering($inlinegroup->getChecksum()); } } }
protected function processImages() { foreach ($this->encode_image_file_groups as $image_group) { /** @var $file RokBooster_Compressor_File */ $file = $image_group[0]; $image_group->setResult(base64_encode(file_get_contents($file->getPath()))); $this->cache->write($image_group->getChecksum(), $image_group->getResult(), false); $this->storeFileInfo($image_group); $this->finishedRendering($image_group->getChecksum()); } }