/** * Ouput the javascripts for several collections. * * @return string */ function basset_javascripts() { $c = array(); $a = func_get_args(); array_walk_recursive($a, function ($v, $k) use(&$c) { is_numeric($k) ? $c["{$v}.js"] = null : ($c["{$k}.js"] = $v); }); return basset_assets($c); }
/** * Serve a collection or number of collections. * * @return string */ public static function show() { return basset_assets(func_get_args()); }