public function __construct($version, $theme = NULL, $provider = "Google")
 {
     parent::__construct($version, $provider);
     $this->data = $this->data["JQueryUI"];
     if (is_int($theme)) {
         $themes = $this->getThemes();
         if (sizeof($themes) > $theme - 1) {
             $this->theme = $themes[$theme - 1];
         } else {
             throw new \Exception("CDNGuiGen : Le numéro de thème demandé n'existe pas");
         }
     }
     $this->theme = $theme;
     $this->cssUrl = null;
 }
 public function __construct($version, $provider = "MaxCDN")
 {
     parent::__construct($version, $provider);
     $this->data = $this->data["Bootstrap"];
 }
Beispiel #3
0
 public function __construct($framework, $version, $provider = "MaxCDN")
 {
     parent::__construct($version, $provider);
     $this->framework = $framework;
     $this->data = $this->data[$framework];
 }
 public function __construct($version, $provider = "Google")
 {
     parent::__construct($version, $provider);
     $this->data = $this->data["JQuery"];
 }