Skip to content

Commit 2c01a5e

Browse files
committed
doc bub fixed (properties in traits)
1 parent 2719a32 commit 2c01a5e

15 files changed

+55
-26
lines changed

Ajax/Bootstrap.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,6 @@
2828
use Ajax\bootstrap\html\HtmlGridSystem;
2929
use Ajax\bootstrap\traits\BootstrapComponentsTrait;
3030

31-
/**
32-
* Bootstrap PHP library
33-
*
34-
* @author jcheron
35-
* @version 1.004
36-
* @license Apache 2 http://www.apache.org/licenses/
37-
*/
38-
3931
class Bootstrap extends BaseGui {
4032
use BootstrapComponentsTrait;
4133
public function __construct($autoCompile=true) {

Ajax/Jquery.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use Ajax\common\traits\JqueryActionsTrait;
88

99
/**
10-
* JQuery library
10+
* JQuery Phalcon library
1111
*
1212
* @author jcheron
1313
* @version 1.002
@@ -29,6 +29,7 @@ class Jquery {
2929
protected $jquery_table_sorter_active=FALSE;
3030
protected $jquery_table_sorter_pager_active=FALSE;
3131
protected $jsUtils;
32+
protected $params;
3233

3334
protected $jquery_events=array (
3435
"bind","blur","change","click","dblclick","delegate","die","error","focus","focusin","focusout","hover","keydown","keypress","keyup","live","load","mousedown","mousseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","off","on","one","ready","resize","scroll","select","submit","toggle","trigger","triggerHandler","undind","undelegate","unload"

Ajax/JqueryUI.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
use Ajax\common\BaseGui;
1818

1919
/**
20-
* JQuery UI library
20+
* JQuery UI Phalcon library
2121
*
2222
* @author jcheron
2323
* @version 1.001

Ajax/Semantic.php

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,7 @@
2323
use Ajax\semantic\traits\SemanticHtmlModulesTrait;
2424
use Ajax\semantic\traits\SemanticHtmlViewsTrait;
2525

26-
/**
27-
* Semantic PHP library
28-
*
29-
* @author jcheron
30-
* @version 1.004
31-
* @license Apache 2 http://www.apache.org/licenses/
32-
*/
33-
class Semantic extends BaseGui {
26+
class Semantic extends BaseGui {
3427
use SemanticComponentsTrait,SemanticHtmlElementsTrait,SemanticHtmlCollectionsTrait,
3528
SemanticHtmlModulesTrait,SemanticHtmlViewsTrait;
3629

@@ -42,7 +35,7 @@ public function __construct($autoCompile=true) {
4235
*
4336
* @param string $identifier
4437
* @param array $items
45-
* @return Ajax\semantic\html\collections\menus\HtmlMenu
38+
* @return Ajax\semantic\html\collections\HtmlMenu
4639
*/
4740
public function htmlMenu($identifier, $items=array()) {
4841
return $this->addHtmlComponent(new HtmlMenu($identifier, $items));
@@ -52,7 +45,6 @@ public function htmlMenu($identifier, $items=array()) {
5245
* Adds an icon menu
5346
* @param string $identifier
5447
* @param array $items icons
55-
* @return Ajax\semantic\html\collections\menus\HtmlIconMenu
5648
*/
5749
public function htmlIconMenu($identifier, $items=array()) {
5850
return $this->addHtmlComponent(new HtmlIconMenu($identifier, $items));
@@ -62,7 +54,6 @@ public function htmlIconMenu($identifier, $items=array()) {
6254
* Adds an labeled icon menu
6355
* @param string $identifier
6456
* @param array $items icons
65-
* @return HtmlLabeledIconMenu
6657
*/
6758
public function htmlLabeledIconMenu($identifier, $items=array()) {
6859
return $this->addHtmlComponent(new HtmlLabeledIconMenu($identifier, $items));
@@ -73,7 +64,6 @@ public function htmlLabeledIconMenu($identifier, $items=array()) {
7364
* @param string $identifier
7465
* @param string $value
7566
* @param array $items
76-
* @return HtmlDropdown
7767
*/
7868
public function htmlDropdown($identifier, $value="", $items=array()) {
7969
return $this->addHtmlComponent(new HtmlDropdown($identifier, $value, $items));
@@ -153,6 +143,7 @@ public function htmlForm($identifier, $elements=array()) {
153143
}
154144

155145
/**
146+
* Returns a new Semantic Sticky
156147
* @param string $identifier
157148
* @param array $content
158149
* @return HtmlSticky

Ajax/common/html/html5/HtmlSelect.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class HtmlSelect extends HtmlDoubleElement {
1313
private $default;
1414
private $options;
1515

16-
public function __construct($identifier, $caption,$default=NULL) {
16+
public function __construct($identifier, $caption="",$default=NULL) {
1717
parent::__construct($identifier, "select");
1818
$this->setProperty("name", $identifier);
1919
$this->setProperty("class", "form-control");

Ajax/common/traits/JqueryActionsTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
/**
55
*
66
* @author jc
7-
* @property array $jquery_code_for_compile;
7+
* @property array $jquery_code_for_compile
88
*/
99

1010
trait JqueryActionsTrait {

Ajax/common/traits/JqueryAjaxTrait.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,13 @@
33
namespace Ajax\common\traits;
44

55
use Ajax\service\JString;
6-
use Ajax\service\PhalconUtils;
7-
use Symfony\Component\Config\Definition\Exception\Exception;
6+
7+
8+
/**
9+
* @author jc
10+
* @property array $jquery_code_for_compile
11+
* @property Ajax\JsUtils $jsUtils
12+
*/
813
trait JqueryAjaxTrait {
914

1015
protected $ajaxLoader='<span></span><span></span><span></span><span></span><span></span>';

Ajax/common/traits/JqueryEventsTrait.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
namespace Ajax\common\traits;
44

5+
/**
6+
* @author jc
7+
* @property array $jquery_code_for_compile
8+
*/
9+
510
trait JqueryEventsTrait {
611
public abstract function _prep_element($element);
712
public abstract function _add_event($element, $js, $event, $preventDefault=false, $stopPropagation=false,$immediatly=true);

Ajax/common/traits/JsUtilsActionsTrait.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
namespace Ajax\common\traits;
44

5+
/**
6+
* @author jc
7+
* @property Ajax\JsUtils $js
8+
*/
59
trait JsUtilsActionsTrait {
610

711
/**

Ajax/common/traits/JsUtilsAjaxTrait.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
namespace Ajax\common\traits;
44

55
use Ajax\service\JArray;
6+
7+
/**
8+
* @author jc
9+
* @property Ajax\JsUtils $js
10+
*/
611
trait JsUtilsAjaxTrait {
712

813
public function setAjaxLoader($loader) {

0 commit comments

Comments
 (0)