call_user_func_array(array($c,$fn),$args);
}
}
- return $args;
+
}
function get($base, $opts=array())
$this->callModules('outputJavascriptIncludes', $this);
}
-
+ var $css_includes = array();
/**
* outputCSSIncludes:
*
$mods = $this->modulesList();
- $val = $this->callModules('applyCSSIncludes', $this, array());
- print_r($val);
+ $this->callModules('applyCSSIncludes', $this);
+ foreach($this->css_includes as $module => $ar) {
+ if ($ar) {
+ $this->assetArrayToHtml( $ar , 'css');
+ }
+ }
+ // old style... - probably remove this...
$this->callModules('outputCSSIncludes', $this);
foreach($mods as $mod) {