phpMv -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Loading...
Searching...
No Matches
CDNJQuery.php
Go to the documentation of this file.
1<?php
2
3namespace Ajax\lib;
4
5
7
8class 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