Completed
Push — master ( edf19e...d27f99 )
by Jean-Christophe
03:39
created
Ajax/semantic/html/collections/HtmlBreadcrumb.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -64,8 +64,7 @@  discard block
 block discarded – undo
64 64
 	 * Associate an ajax get to the breadcrumb elements, displayed in $targetSelector
65 65
 	 * $attr member is used to build each element url
66 66
 	 * @param string $targetSelector the target of the get
67
-	 * @param string $attr the html attribute used to build the elements url
68
-	 * @return HtmlBreadcrumbs
67
+	 * @return HtmlBreadcrumb
69 68
 	 */
70 69
 	public function autoGetOnClick($targetSelector) {
71 70
 		return $this->getOnClick($this->root, $targetSelector, array ("attr" => $this->attr ));
@@ -91,7 +90,7 @@  discard block
 block discarded – undo
91 90
 	 * Add new elements in breadcrumbs corresponding to request dispatcher : controllerName, actionName, parameters
92 91
 	 * @param JsUtils $js
93 92
 	 * @param Dispatcher $dispatcher the request dispatcher
94
-	 * @return \Ajax\bootstrap\html\HtmlBreadcrumbs
93
+	 * @return HtmlBreadcrumb
95 94
 	 */
96 95
 	public function fromDispatcher(JsUtils $js,$dispatcher, $startIndex=0) {
97 96
 		return $this->addItems($js->fromDispatcher($dispatcher));
@@ -120,7 +119,7 @@  discard block
 block discarded – undo
120 119
 	 * sets the function who generates the href elements.
121 120
 	 * default : function($element){return $element->getContent()}
122 121
 	 * @param function $_hrefFunction
123
-	 * @return \Ajax\bootstrap\html\HtmlBreadcrumbs
122
+	 * @return HtmlBreadcrumb
124 123
 	 */
125 124
 	public function setHrefFunction($_hrefFunction) {
126 125
 		$this->_hrefFunction=$_hrefFunction;
Please login to merge, or discard this patch.
Ajax/semantic/html/collections/HtmlGrid.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,6 +22,9 @@  discard block
 block discarded – undo
22 22
 	private $_colSizing=true;
23 23
 	private $_implicitRows=false;
24 24
 
25
+	/**
26
+	 * @param string $identifier
27
+	 */
25 28
 	public function __construct($identifier, $numRows=1, $numCols=NULL, $createCols=true, $implicitRows=false) {
26 29
 		parent::__construct($identifier, "div", "ui grid");
27 30
 		$this->_implicitRows=$implicitRows;
@@ -158,7 +161,7 @@  discard block
 block discarded – undo
158 161
 	/**
159 162
 	 * return the row at $index
160 163
 	 * @param int $index
161
-	 * @return \Ajax\semantic\html\collections\HtmlGridRow
164
+	 * @return \Ajax\common\html\HtmlDoubleElement
162 165
 	 */
163 166
 	public function getRow($index) {
164 167
 		return $this->getItem($index);
@@ -297,7 +300,7 @@  discard block
 block discarded – undo
297 300
 
298 301
 	/**
299 302
 	 * stretch the row contents to take up the entire column height
300
-	 * @return \Ajax\semantic\html\content\HtmlGridRow
303
+	 * @return HtmlGrid
301 304
 	 */
302 305
 	public function setStretched() {
303 306
 		return $this->addToProperty("class", "stretched");
Please login to merge, or discard this patch.
Ajax/semantic/html/collections/menus/HtmlMenu.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 	/**
34 34
 	 * Sets the menu type
35 35
 	 * @param string $type one of text,item
36
-	 * @return \Ajax\semantic\html\collections\HtmlMenu
36
+	 * @return HtmlMenu
37 37
 	 */
38 38
 	public function setType($type="") {
39 39
 		return $this->addToPropertyCtrl("class", $type, array ("","item","text" ));
@@ -81,6 +81,7 @@  discard block
 block discarded – undo
81 81
 	 * {@inheritDoc}
82 82
 	 *
83 83
 	 * @see \Ajax\common\html\HtmlCollection::insertItem()
84
+	 * @param HtmlIcon $item
84 85
 	 */
85 86
 	public function insertItem($item, $position=0) {
86 87
 		$item=parent::insertItem($this->getItemToInsert($item), $position);
Please login to merge, or discard this patch.
Ajax/semantic/html/content/HtmlAbsractItem.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -11,6 +11,9 @@
 block discarded – undo
11 11
 
12 12
 abstract class HtmlAbsractItem extends HtmlSemDoubleElement {
13 13
 
14
+	/**
15
+	 * @param string $baseClass
16
+	 */
14 17
 	public function __construct($identifier, $baseClass,$content=NULL) {
15 18
 		parent::__construct($identifier, "div", $baseClass);
16 19
 		$this->content=array();
Please login to merge, or discard this patch.
Ajax/semantic/html/content/HtmlGridRow.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,6 +22,9 @@  discard block
 block discarded – undo
22 22
 	private $_colSize;
23 23
 	private $_implicite=false;
24 24
 
25
+	/**
26
+	 * @param string $identifier
27
+	 */
25 28
 	public function __construct( $identifier,$numCols=NULL,$colSizing=false,$implicite=false){
26 29
 		parent::__construct( $identifier,"div","row");
27 30
 		$this->_implicite=$implicite;
@@ -55,7 +58,7 @@  discard block
 block discarded – undo
55 58
 	/**
56 59
 	 * return the col at $index
57 60
 	 * @param int $index
58
-	 * @return \Ajax\semantic\html\collections\HtmlGridCol
61
+	 * @return \Ajax\common\html\HtmlDoubleElement
59 62
 	 */
60 63
 	public function getCol($index){
61 64
 		return $this->getItem($index);
Please login to merge, or discard this patch.
Ajax/semantic/html/elements/HtmlButton.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 	/**
39 39
 	 * Set the button value
40 40
 	 * @param string $value
41
-	 * @return \Ajax\semantic\html\HtmlButton
41
+	 * @return HtmlButton
42 42
 	 */
43 43
 	public function setValue($value) {
44 44
 		$this->content=$value;
@@ -47,8 +47,8 @@  discard block
 block discarded – undo
47 47
 
48 48
 	/**
49 49
 	 * define the button style
50
-	 * @param string|int $cssStyle
51
-	 * @return \Ajax\semantic\html\HtmlButton default : ""
50
+	 * @param string $cssStyle
51
+	 * @return HtmlButton default : ""
52 52
 	 */
53 53
 	public function setStyle($cssStyle) {
54 54
 		return $this->addToProperty("class", $cssStyle);
@@ -98,7 +98,6 @@  discard block
 block discarded – undo
98 98
 
99 99
 	/**
100 100
 	 * Add and return a button label
101
-	 * @param string $caption
102 101
 	 * @param string $before
103 102
 	 * @param string $icon
104 103
 	 * @return \Ajax\semantic\html\elements\HtmlLabel
Please login to merge, or discard this patch.
Ajax/semantic/html/elements/HtmlIconGroups.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -13,6 +13,9 @@
 block discarded – undo
13 13
  */
14 14
 class HtmlIconGroups extends HtmlSemCollection {
15 15
 
16
+	/**
17
+	 * @param string $identifier
18
+	 */
16 19
 	public function __construct($identifier, $icons=array(), $size="") {
17 20
 		parent::__construct($identifier, "i", "icons");
18 21
 		$this->addItems($icons);
Please login to merge, or discard this patch.
Ajax/semantic/html/elements/HtmlLabel.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,6 @@
 block discarded – undo
20 20
 
21 21
 	/**
22 22
 	 *
23
-	 * @param string $side
24 23
 	 * @return \Ajax\semantic\html\elements\HtmlLabel
25 24
 	 */
26 25
 	public function setPointing($value=Direction::NONE) {
Please login to merge, or discard this patch.
Ajax/semantic/html/elements/HtmlList.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -10,6 +10,9 @@  discard block
 block discarded – undo
10 10
 class HtmlList extends HtmlSemCollection {
11 11
 	protected $_hasCheckedList;
12 12
 
13
+	/**
14
+	 * @param string $identifier
15
+	 */
13 16
 	public function __construct($identifier, $items=array()) {
14 17
 		parent::__construct($identifier, "div", "ui list");
15 18
 		$this->addItems($items);
@@ -22,6 +25,9 @@  discard block
 block discarded – undo
22 25
 		return $item;
23 26
 	}
24 27
 
28
+	/**
29
+	 * @param integer $niveau
30
+	 */
25 31
 	public function addHeader($niveau, $content) {
26 32
 		$header=new HtmlHeader("header-" . $this->identifier, $niveau, $content, "page");
27 33
 		$this->wrap($header);
Please login to merge, or discard this patch.