Guest User

Untitled

a guest
Nov 21st, 2013
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.24 KB | None | 0 0
  1. class CssLoader extends \Nette\Application\UI\Control
  2. {
  3.  
  4.     public function render()
  5.     {
  6.     $hasArgs = func_num_args() > 0;
  7.  
  8.     if ($hasArgs) {
  9.         foreach (func_get_args() as $file) {
  10.         AssetManager::addCss($file);
  11.         }
  12.     }
  13.     }
  14.  
  15. }
Advertisement
Add Comment
Please, Sign In to add comment