@@ -8,17 +8,17 @@ |
||
8 | 8 | class HtmlFormTextarea extends HtmlFormField { |
9 | 9 | use TextFieldsTrait; |
10 | 10 | |
11 | - public function __construct($identifier, $label=NULL,$value=NULL,$placeholder=NULL,$rows=NULL) { |
|
12 | - if(!isset($placeholder)) |
|
11 | + public function __construct($identifier, $label=NULL, $value=NULL, $placeholder=NULL, $rows=NULL) { |
|
12 | + if (!isset($placeholder)) |
|
13 | 13 | $placeholder=$label; |
14 | - parent::__construct("field-".$identifier, new HtmlTextarea($identifier,$value,$placeholder,$rows), $label); |
|
14 | + parent::__construct("field-".$identifier, new HtmlTextarea($identifier, $value, $placeholder, $rows), $label); |
|
15 | 15 | } |
16 | 16 | |
17 | 17 | /** |
18 | 18 | * Defines the textarea row count |
19 | 19 | * @param int $count |
20 | 20 | */ |
21 | - public function setRows($count){ |
|
21 | + public function setRows($count) { |
|
22 | 22 | $this->getField()->setRows($count); |
23 | 23 | } |
24 | 24 | } |
25 | 25 | \ No newline at end of file |
@@ -5,5 +5,5 @@ |
||
5 | 5 | use Ajax\common\BaseEnum; |
6 | 6 | |
7 | 7 | abstract class State extends BaseEnum { |
8 | - const ACTIVE="active",DISABLED="disabled",ERROR="error",FOCUS="focus",LOADING="loading",SUCCESS="success",WARNING="warning"; |
|
8 | + const ACTIVE="active", DISABLED="disabled", ERROR="error", FOCUS="focus", LOADING="loading", SUCCESS="success", WARNING="warning"; |
|
9 | 9 | } |
10 | 10 | \ No newline at end of file |
@@ -10,11 +10,11 @@ |
||
10 | 10 | */ |
11 | 11 | class HtmlFormRadio extends AbstractHtmlFormRadioCheckbox { |
12 | 12 | |
13 | - public function __construct($identifier, $name=NULL,$label=NULL,$value=NULL) { |
|
14 | - parent::__construct($identifier, $name,$label,$value); |
|
13 | + public function __construct($identifier, $name=NULL, $label=NULL, $value=NULL) { |
|
14 | + parent::__construct($identifier, $name, $label, $value); |
|
15 | 15 | $this->_input->getField()->setProperty("type", "radio"); |
16 | 16 | $this->_input->setClass("ui radio checkbox"); |
17 | - if(isset($name)) |
|
17 | + if (isset($name)) |
|
18 | 18 | $this->_input->getField()->setProperty("name", $name); |
19 | 19 | } |
20 | 20 | } |
21 | 21 | \ No newline at end of file |
@@ -10,14 +10,14 @@ |
||
10 | 10 | * @version 1.001 |
11 | 11 | */ |
12 | 12 | class HtmlFormCheckbox extends AbstractHtmlFormRadioCheckbox { |
13 | - public function __construct($identifier, $label=NULL,$value=NULL,$type=NULL) { |
|
14 | - parent::__construct($identifier, NULL,$label,$value); |
|
13 | + public function __construct($identifier, $label=NULL, $value=NULL, $type=NULL) { |
|
14 | + parent::__construct($identifier, NULL, $label, $value); |
|
15 | 15 | $this->_input->setClass("ui checkbox"); |
16 | - if(isset($type)) |
|
16 | + if (isset($type)) |
|
17 | 17 | $this->setType($type); |
18 | 18 | } |
19 | 19 | |
20 | - public function setType($checkboxType){ |
|
20 | + public function setType($checkboxType) { |
|
21 | 21 | return $this->_input->addToPropertyCtrl("class", $checkboxType, CheckboxType::getConstants()); |
22 | 22 | } |
23 | 23 | } |
24 | 24 | \ No newline at end of file |
@@ -7,9 +7,9 @@ |
||
7 | 7 | class HtmlFormInput extends HtmlFormField { |
8 | 8 | use TextFieldsTrait; |
9 | 9 | |
10 | - public function __construct($identifier, $label=NULL,$type="text",$value=NULL,$placeholder=NULL) { |
|
11 | - if(!isset($placeholder) && $type==="text") |
|
10 | + public function __construct($identifier, $label=NULL, $type="text", $value=NULL, $placeholder=NULL) { |
|
11 | + if (!isset($placeholder) && $type==="text") |
|
12 | 12 | $placeholder=$label; |
13 | - parent::__construct("field-".$identifier, new HtmlInput($identifier,$type,$value,$placeholder), $label); |
|
13 | + parent::__construct("field-".$identifier, new HtmlInput($identifier, $type, $value, $placeholder), $label); |
|
14 | 14 | } |
15 | 15 | } |
16 | 16 | \ No newline at end of file |
@@ -11,14 +11,14 @@ |
||
11 | 11 | abstract class AbstractHtmlFormRadioCheckbox extends HtmlFormField { |
12 | 12 | protected $_input; |
13 | 13 | |
14 | - public function __construct($identifier, $name=NULL,$label=NULL,$value=NULL) { |
|
15 | - $input=new HtmlFormInput($identifier,$label,"checkbox",$value); |
|
14 | + public function __construct($identifier, $name=NULL, $label=NULL, $value=NULL) { |
|
15 | + $input=new HtmlFormInput($identifier, $label, "checkbox", $value); |
|
16 | 16 | parent::__construct("rField-".$identifier, $input); |
17 | - if(isset($label)){ |
|
17 | + if (isset($label)) { |
|
18 | 18 | $input->swapLabel(); |
19 | 19 | $label=$input->getLabel(); |
20 | 20 | $label->setClass="hidden"; |
21 | - $label->setProperty("tabindex",0); |
|
21 | + $label->setProperty("tabindex", 0); |
|
22 | 22 | } |
23 | 23 | $this->_input=$input; |
24 | 24 | } |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | use Ajax\semantic\traits\SemanticHtmlElementsTrait; |
21 | 21 | |
22 | 22 | class Semantic extends BaseGui { |
23 | - use SemanticComponentsTrait,SemanticHtmlElementsTrait; |
|
23 | + use SemanticComponentsTrait, SemanticHtmlElementsTrait; |
|
24 | 24 | public function __construct($autoCompile=true) { |
25 | 25 | parent::__construct($autoCompile=true); |
26 | 26 | } |
@@ -31,24 +31,24 @@ discard block |
||
31 | 31 | * @param array $items |
32 | 32 | * @return Ajax\semantic\html\collections\HtmlMenu |
33 | 33 | */ |
34 | - public function htmlMenu($identifier,$items=array()){ |
|
35 | - return $this->addHtmlComponent(new HtmlMenu($identifier,$items)); |
|
34 | + public function htmlMenu($identifier, $items=array()) { |
|
35 | + return $this->addHtmlComponent(new HtmlMenu($identifier, $items)); |
|
36 | 36 | } |
37 | 37 | |
38 | 38 | /**Adds an icon menu |
39 | 39 | * @param string $identifier |
40 | 40 | * @param array $items icons |
41 | 41 | */ |
42 | - public function htmlIconMenu($identifier,$items=array()){ |
|
43 | - return $this->addHtmlComponent(new HtmlIconMenu($identifier,$items)); |
|
42 | + public function htmlIconMenu($identifier, $items=array()) { |
|
43 | + return $this->addHtmlComponent(new HtmlIconMenu($identifier, $items)); |
|
44 | 44 | } |
45 | 45 | |
46 | 46 | /**Adds an labeled icon menu |
47 | 47 | * @param string $identifier |
48 | 48 | * @param array $items icons |
49 | 49 | */ |
50 | - public function htmlLabeledIconMenu($identifier,$items=array()){ |
|
51 | - return $this->addHtmlComponent(new HtmlLabeledIconMenu($identifier,$items)); |
|
50 | + public function htmlLabeledIconMenu($identifier, $items=array()) { |
|
51 | + return $this->addHtmlComponent(new HtmlLabeledIconMenu($identifier, $items)); |
|
52 | 52 | } |
53 | 53 | |
54 | 54 | /** |
@@ -56,8 +56,8 @@ discard block |
||
56 | 56 | * @param string $value |
57 | 57 | * @param array $items |
58 | 58 | */ |
59 | - public function htmlDropdown($identifier, $value="", $items=array()){ |
|
60 | - return $this->addHtmlComponent(new HtmlDropdown($identifier,$value,$items)); |
|
59 | + public function htmlDropdown($identifier, $value="", $items=array()) { |
|
60 | + return $this->addHtmlComponent(new HtmlDropdown($identifier, $value, $items)); |
|
61 | 61 | } |
62 | 62 | |
63 | 63 | /** |
@@ -65,16 +65,16 @@ discard block |
||
65 | 65 | * @param string $identifier |
66 | 66 | * @param string $content |
67 | 67 | */ |
68 | - public function htmlMessage($identifier, $content=""){ |
|
69 | - return $this->addHtmlComponent(new HtmlMessage($identifier,$content)); |
|
68 | + public function htmlMessage($identifier, $content="") { |
|
69 | + return $this->addHtmlComponent(new HtmlMessage($identifier, $content)); |
|
70 | 70 | } |
71 | 71 | |
72 | 72 | /** |
73 | 73 | * @param string $identifier |
74 | 74 | * @param mixed $content |
75 | 75 | */ |
76 | - public function htmlPopup(BaseHtml $container,$identifier,$content){ |
|
77 | - return $this->addHtmlComponent(new HtmlPopup($container,$identifier,$content)); |
|
76 | + public function htmlPopup(BaseHtml $container, $identifier, $content) { |
|
77 | + return $this->addHtmlComponent(new HtmlPopup($container, $identifier, $content)); |
|
78 | 78 | } |
79 | 79 | |
80 | 80 | /** |
@@ -84,8 +84,8 @@ discard block |
||
84 | 84 | * @param boolean $createCols |
85 | 85 | * @param boolean $implicitRows |
86 | 86 | */ |
87 | - public function htmlGrid($identifier,$numRows=1,$numCols=NULL,$createCols=true,$implicitRows=false){ |
|
88 | - return $this->addHtmlComponent(new HtmlGrid($identifier,$numRows,$numCols,$createCols,$implicitRows)); |
|
87 | + public function htmlGrid($identifier, $numRows=1, $numCols=NULL, $createCols=true, $implicitRows=false) { |
|
88 | + return $this->addHtmlComponent(new HtmlGrid($identifier, $numRows, $numCols, $createCols, $implicitRows)); |
|
89 | 89 | } |
90 | 90 | |
91 | 91 | |
@@ -98,8 +98,8 @@ discard block |
||
98 | 98 | * @param function $hrefFunction the function who generates the href elements. default : function($e){return $e->getContent()} |
99 | 99 | * @return HtmlBreadcrumb |
100 | 100 | */ |
101 | - public function htmlBreadcrumb( $identifier,$items=array(),$autoActive=true,$startIndex=0,$hrefFunction=NULL){ |
|
102 | - return $this->addHtmlComponent(new HtmlBreadcrumb($identifier,$items,$autoActive,$startIndex,$hrefFunction)); |
|
101 | + public function htmlBreadcrumb($identifier, $items=array(), $autoActive=true, $startIndex=0, $hrefFunction=NULL) { |
|
102 | + return $this->addHtmlComponent(new HtmlBreadcrumb($identifier, $items, $autoActive, $startIndex, $hrefFunction)); |
|
103 | 103 | } |
104 | 104 | |
105 | 105 | /** |
@@ -116,8 +116,8 @@ discard block |
||
116 | 116 | * @param string $identifier |
117 | 117 | * @return HtmlAccordion |
118 | 118 | */ |
119 | - public function htmlAccordionMenu($identifier,$items=array()) { |
|
120 | - return $this->addHtmlComponent(new HtmlAccordionMenu($identifier,$items)); |
|
119 | + public function htmlAccordionMenu($identifier, $items=array()) { |
|
120 | + return $this->addHtmlComponent(new HtmlAccordionMenu($identifier, $items)); |
|
121 | 121 | } |
122 | 122 | |
123 | 123 | /** |
@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | * @param string $identifier |
126 | 126 | * @param array $elements |
127 | 127 | */ |
128 | - public function htmlForm($identifier,$elements=array()) { |
|
129 | - return $this->addHtmlComponent(new HtmlForm($identifier,$elements)); |
|
128 | + public function htmlForm($identifier, $elements=array()) { |
|
129 | + return $this->addHtmlComponent(new HtmlForm($identifier, $elements)); |
|
130 | 130 | } |
131 | 131 | } |
132 | 132 | \ No newline at end of file |
@@ -17,8 +17,8 @@ discard block |
||
17 | 17 | * @param string $jsCallback javascript code to execute after the request |
18 | 18 | * @param boolean $hasLoader true for showing ajax loader. default : true |
19 | 19 | */ |
20 | - public function get($url, $responseElement="", $params="{}", $jsCallback=NULL,$hasLoader=true) { |
|
21 | - return $this->js->_get($url, $params, $responseElement, $jsCallback, NULL, $hasLoader,true); |
|
20 | + public function get($url, $responseElement="", $params="{}", $jsCallback=NULL, $hasLoader=true) { |
|
21 | + return $this->js->_get($url, $params, $responseElement, $jsCallback, NULL, $hasLoader, true); |
|
22 | 22 | } |
23 | 23 | |
24 | 24 | /** |
@@ -29,8 +29,8 @@ discard block |
||
29 | 29 | * @param string $jsCallback javascript code to execute after the request |
30 | 30 | * @param boolean $immediatly |
31 | 31 | */ |
32 | - public function json($url, $method="get", $params="{}", $jsCallback=NULL, $attr="id", $context="document",$immediatly=false) { |
|
33 | - return $this->js->_json($url, $method, $params, $jsCallback, $attr, $context,$immediatly); |
|
32 | + public function json($url, $method="get", $params="{}", $jsCallback=NULL, $attr="id", $context="document", $immediatly=false) { |
|
33 | + return $this->js->_json($url, $method, $params, $jsCallback, $attr, $context, $immediatly); |
|
34 | 34 | } |
35 | 35 | |
36 | 36 | /** |
@@ -40,8 +40,8 @@ discard block |
||
40 | 40 | * @param string $url the request address |
41 | 41 | * @param array $parameters default : array("preventDefault"=>true,"stopPropagation"=>true,"jsCallback"=>NULL,"attr"=>"id","params"=>"{}","method"=>"get","immediatly"=>true) |
42 | 42 | */ |
43 | - public function jsonOn($event,$element, $url,$parameters=array()) { |
|
44 | - return $this->js->_jsonOn($event, $element, $url,$parameters); |
|
43 | + public function jsonOn($event, $element, $url, $parameters=array()) { |
|
44 | + return $this->js->_jsonOn($event, $element, $url, $parameters); |
|
45 | 45 | } |
46 | 46 | |
47 | 47 | /** |
@@ -85,8 +85,8 @@ discard block |
||
85 | 85 | * @param string $url the request url |
86 | 86 | * @param array $parameters default : array("preventDefault"=>true,"stopPropagation"=>true,"jsCallback"=>NULL,"attr"=>"id","params"=>"{}","method"=>"get","immediatly"=>true) |
87 | 87 | */ |
88 | - public function jsonArrayOn($event,$element,$maskSelector, $url,$parameters=array()) { |
|
89 | - return $this->js->_jsonArrayOn($event,$element,$maskSelector, $url, $parameters); |
|
88 | + public function jsonArrayOn($event, $element, $maskSelector, $url, $parameters=array()) { |
|
89 | + return $this->js->_jsonArrayOn($event, $element, $maskSelector, $url, $parameters); |
|
90 | 90 | } |
91 | 91 | |
92 | 92 | /** |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | * @param string $jsCallback javascript code to execute after the request |
99 | 99 | * @param string $attr the html attribute added to the request |
100 | 100 | */ |
101 | - public function getDeferred($url, $responseElement="", $params="{}", $jsCallback=NULL,$attr="id") { |
|
101 | + public function getDeferred($url, $responseElement="", $params="{}", $jsCallback=NULL, $attr="id") { |
|
102 | 102 | return $this->js->_get($url, $params, $responseElement, $jsCallback, $attr, false); |
103 | 103 | } |
104 | 104 | |
@@ -136,8 +136,8 @@ discard block |
||
136 | 136 | * @param string $jsCallback javascript code to execute after the request |
137 | 137 | * @param boolean $hasLoader true for showing ajax loader. default : true |
138 | 138 | */ |
139 | - public function post($url, $responseElement="", $params="{}", $jsCallback=NULL,$hasLoader=true) { |
|
140 | - return $this->js->_post($url, $params, $responseElement, $jsCallback, NULL, $hasLoader,true); |
|
139 | + public function post($url, $responseElement="", $params="{}", $jsCallback=NULL, $hasLoader=true) { |
|
140 | + return $this->js->_post($url, $params, $responseElement, $jsCallback, NULL, $hasLoader, true); |
|
141 | 141 | } |
142 | 142 | |
143 | 143 | /** |
@@ -150,8 +150,8 @@ discard block |
||
150 | 150 | * @param string $jsCallback javascript code to execute after the request |
151 | 151 | * @param boolean $hasLoader true for showing ajax loader. default : true |
152 | 152 | */ |
153 | - public function postDeferred($url, $responseElement="", $params="{}", $jsCallback=NULL, $attr="id",$hasLoader=true) { |
|
154 | - return $this->js->_post($url, $params, $responseElement, $jsCallback, $attr, $hasLoader,false); |
|
153 | + public function postDeferred($url, $responseElement="", $params="{}", $jsCallback=NULL, $attr="id", $hasLoader=true) { |
|
154 | + return $this->js->_post($url, $params, $responseElement, $jsCallback, $attr, $hasLoader, false); |
|
155 | 155 | } |
156 | 156 | |
157 | 157 | /** |
@@ -165,7 +165,7 @@ discard block |
||
165 | 165 | * @param array $parameters default : array("preventDefault"=>true,"stopPropagation"=>true,"jsCallback"=>NULL,"attr"=>"id","hasLoader"=>true,"immediatly"=>true) |
166 | 166 | */ |
167 | 167 | public function postOn($event, $element, $url, $params="{}", $responseElement="", $parameters=array()) { |
168 | - return $this->js->_postOn($event, $element, $url, $params, $responseElement, $parameters); |
|
168 | + return $this->js->_postOn($event, $element, $url, $params, $responseElement, $parameters); |
|
169 | 169 | } |
170 | 170 | |
171 | 171 | /** |
@@ -189,8 +189,8 @@ discard block |
||
189 | 189 | * @param string $jsCallback javascript code to execute after the request |
190 | 190 | * @param boolean $hasLoader true for showing ajax loader. default : true |
191 | 191 | */ |
192 | - public function postForm($url, $form, $responseElement, $validation=false, $jsCallback=NULL,$hasLoader=true) { |
|
193 | - return $this->js->_postForm($url, $form, $responseElement, $validation, $jsCallback, NULL, $hasLoader,true); |
|
192 | + public function postForm($url, $form, $responseElement, $validation=false, $jsCallback=NULL, $hasLoader=true) { |
|
193 | + return $this->js->_postForm($url, $form, $responseElement, $validation, $jsCallback, NULL, $hasLoader, true); |
|
194 | 194 | } |
195 | 195 | |
196 | 196 | /** |
@@ -203,8 +203,8 @@ discard block |
||
203 | 203 | * @param string $attr the html attribute added to the request |
204 | 204 | * @param boolean $hasLoader true for showing ajax loader. default : true |
205 | 205 | */ |
206 | - public function postFormDeferred($url, $form, $responseElement, $validation=false, $jsCallback=NULL,$attr="id",$hasLoader=true) { |
|
207 | - return $this->js->_postForm($url, $form, $responseElement, $validation, $jsCallback, $attr, $hasLoader,false); |
|
206 | + public function postFormDeferred($url, $form, $responseElement, $validation=false, $jsCallback=NULL, $attr="id", $hasLoader=true) { |
|
207 | + return $this->js->_postForm($url, $form, $responseElement, $validation, $jsCallback, $attr, $hasLoader, false); |
|
208 | 208 | } |
209 | 209 | |
210 | 210 | /** |
@@ -218,7 +218,7 @@ discard block |
||
218 | 218 | * @param array $parameters default : array("preventDefault"=>true,"stopPropagation"=>true,"validation"=>false,"jsCallback"=>NULL,"attr"=>"id","hasLoader"=>true,"immediatly"=>true) |
219 | 219 | */ |
220 | 220 | public function postFormOn($event, $element, $url, $form, $responseElement="", $parameters=array()) { |
221 | - return $this->js->_postFormOn($event,$element, $url, $form, $responseElement, $parameters); |
|
221 | + return $this->js->_postFormOn($event, $element, $url, $form, $responseElement, $parameters); |
|
222 | 222 | } |
223 | 223 | |
224 | 224 | /** |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | * @return string |
14 | 14 | */ |
15 | 15 | public function addClass($element='this', $class='', $immediatly=false) { |
16 | - return $this->js->_genericCallValue('addClass',$element, $class, $immediatly); |
|
16 | + return $this->js->_genericCallValue('addClass', $element, $class, $immediatly); |
|
17 | 17 | } |
18 | 18 | |
19 | 19 | /** |
@@ -23,8 +23,8 @@ discard block |
||
23 | 23 | * @param boolean $immediatly defers the execution if set to false |
24 | 24 | * @return string |
25 | 25 | */ |
26 | - public function after($to, $element, $immediatly=false){ |
|
27 | - return $this->js->_genericCallElement('after',$to, $element, $immediatly); |
|
26 | + public function after($to, $element, $immediatly=false) { |
|
27 | + return $this->js->_genericCallElement('after', $to, $element, $immediatly); |
|
28 | 28 | } |
29 | 29 | |
30 | 30 | /** |
@@ -34,8 +34,8 @@ discard block |
||
34 | 34 | * @param boolean $immediatly defers the execution if set to false |
35 | 35 | * @return string |
36 | 36 | */ |
37 | - public function before($to, $element, $immediatly=false){ |
|
38 | - return $this->js->_genericCallElement('before',$to, $element, $immediatly); |
|
37 | + public function before($to, $element, $immediatly=false) { |
|
38 | + return $this->js->_genericCallElement('before', $to, $element, $immediatly); |
|
39 | 39 | } |
40 | 40 | |
41 | 41 | /** |
@@ -55,8 +55,8 @@ discard block |
||
55 | 55 | * @param string $value |
56 | 56 | * @param boolean $immediatly defers the execution if set to false |
57 | 57 | */ |
58 | - public function val($element='this',$value='',$immediatly=false){ |
|
59 | - return $this->js->_genericCallValue('val',$element,$value,$immediatly); |
|
58 | + public function val($element='this', $value='', $immediatly=false) { |
|
59 | + return $this->js->_genericCallValue('val', $element, $value, $immediatly); |
|
60 | 60 | } |
61 | 61 | |
62 | 62 | /** |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | * @param boolean $immediatly defers the execution if set to false |
67 | 67 | */ |
68 | 68 | public function html($element='this', $value='', $immediatly=false) { |
69 | - return $this->js->_genericCallValue('html',$element, $value, $immediatly); |
|
69 | + return $this->js->_genericCallValue('html', $element, $value, $immediatly); |
|
70 | 70 | } |
71 | 71 | |
72 | 72 | /** |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | * @return string |
92 | 92 | */ |
93 | 93 | public function append($to, $element, $immediatly=false) { |
94 | - return $this->js->_genericCallElement('append',$to, $element, $immediatly); |
|
94 | + return $this->js->_genericCallElement('append', $to, $element, $immediatly); |
|
95 | 95 | } |
96 | 96 | |
97 | 97 | /** |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | * @return string |
103 | 103 | */ |
104 | 104 | public function prepend($to, $element, $immediatly=false) { |
105 | - return $this->js->_genericCallElement('prepend',$to, $element, $immediatly); |
|
105 | + return $this->js->_genericCallElement('prepend', $to, $element, $immediatly); |
|
106 | 106 | } |
107 | 107 | |
108 | 108 | /** |
@@ -153,7 +153,7 @@ discard block |
||
153 | 153 | * @return string |
154 | 154 | */ |
155 | 155 | public function removeClass($element='this', $class='', $immediatly=false) { |
156 | - return $this->js->_genericCall('removeClass',$element, $class, $immediatly); |
|
156 | + return $this->js->_genericCall('removeClass', $element, $class, $immediatly); |
|
157 | 157 | } |
158 | 158 | |
159 | 159 | /** |
@@ -214,7 +214,7 @@ discard block |
||
214 | 214 | * @return string |
215 | 215 | */ |
216 | 216 | public function toggleClass($element='this', $class='', $immediatly=false) { |
217 | - return $this->js->_genericCallValue('toggleClass',$element, $class, $immediatly); |
|
217 | + return $this->js->_genericCallValue('toggleClass', $element, $class, $immediatly); |
|
218 | 218 | } |
219 | 219 | |
220 | 220 | /** |
@@ -290,7 +290,7 @@ discard block |
||
290 | 290 | $preventDefault=false; |
291 | 291 | $immediatly=true; |
292 | 292 | extract($parameters); |
293 | - return $this->js->_doJQueryOn($event, $element, $elementToModify, $jqueryCall, $param, $preventDefault, $stopPropagation, $jsCallback,$immediatly); |
|
293 | + return $this->js->_doJQueryOn($event, $element, $elementToModify, $jqueryCall, $param, $preventDefault, $stopPropagation, $jsCallback, $immediatly); |
|
294 | 294 | } |
295 | 295 | |
296 | 296 | /** |
@@ -317,7 +317,7 @@ discard block |
||
317 | 317 | $preventDefault=false; |
318 | 318 | $immediatly=true; |
319 | 319 | extract($parameters); |
320 | - $script=$this->js->_execOn($element, $event, $js, $preventDefault, $stopPropagation,$immediatly); |
|
320 | + $script=$this->js->_execOn($element, $event, $js, $preventDefault, $stopPropagation, $immediatly); |
|
321 | 321 | return $script; |
322 | 322 | } |
323 | 323 | } |
324 | 324 | \ No newline at end of file |