You are here

function _css_emimage_collect_static in CSS Embedded Images 7

Same name and namespace in other branches
  1. 6.2 css_emimage.module \_css_emimage_collect_static()

Helper function to store collected CSS declarations.

3 calls to _css_emimage_collect_static()
_css_emimage_collect in ./css_emimage.inc
Helper function to collect CSS declarations to replace with data URIs.
_css_emimage_process in ./css_emimage.module
Helper function to replace URLs with data URIs.
_css_emimage_text_processor in ./css_emimage.advagg.inc
Process the css text and replace it with image data where necessary.

File

./css_emimage.inc, line 12
CSS Embedded Images module.

Code

function _css_emimage_collect_static($data = NULL) {
  static $store = array();
  if (!is_null($data)) {
    $store = $data;
  }
  return $store;
}