Example #1
0
 protected function _getLessFunctions($file)
 {
     // Base functions
     // @todo complete this array with any function that could be useful
     $functions = array();
     // Get additional functions
     $response = new Varien_Object(array('less_functions' => array()));
     Mage::dispatchEvent('soczed_less_additional_functions', array('response' => $response, 'file_name' => $file));
     if (is_array($additional = $response->getLessFunctions())) {
         $functions = array_merge($functions, $additional);
     }
     return $functions;
 }