phpMv  -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
CDNJQuery.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Ajax\lib;
4 
5 
7 
8 class CDNJQuery extends CDNBase {
9 
10  public function __construct($version, $provider="Google") {
11  parent::__construct($version, $provider);
12  $this->data=$this->data ["JQuery"];
13  }
14 
15  public function getUrl() {
16  return $this->getUrlOrCss($this->jsUrl, "url");
17  }
18 
19  public function __toString() {
20  $url=$this->getUrl();
21  return HtmlUtils::javascriptInclude($url);
22  }
23 }
getUrlOrCss($element, $key)
Definition: CDNBase.php:36
__construct($version, $provider="Google")
Definition: CDNJQuery.php:10