Mixin_Dynamic_Stylesheet_Actions

Provides controller actions for the dynamic stylesheet.

Defined (1)

The class is defined in the following location(s).

/products/photocrati_nextgen/modules/dynamic_stylesheet/package.module.dynamic_stylesheet.php  
  1. class Mixin_Dynamic_Stylesheet_Actions extends Mixin 
  2. public function index_action() 
  3. $this->set_content_type('css'); 
  4. if (($data = $this->param('data')) !== FALSE && ($index = $this->param('index')) !== FALSE) { 
  5. $data = $this->object->decode($data); 
  6. $this->render_view($this->object->get_css_template($index), $data);