/** * @param $script */ protected function useScript($script) { return \TAO::useStyle($script); }
/** * @param $name */ public function useStyle($name) { $url = $this->fileUrl("styles/{$name}"); if ($url) { \TAO::useStyle($url); } }
/** * */ public function useStyles() { $css = $this->styleUrl("form"); if ($css) { \TAO::useStyle($css); } }