Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CssLoader extends \Nette\Application\UI\Control
- {
- public function render()
- {
- $hasArgs = func_num_args() > 0;
- if ($hasArgs) {
- foreach (func_get_args() as $file) {
- AssetManager::addCss($file);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment