Skip to content

Commit 864cd03

Browse files
committed
doc traits : namespace pb
1 parent 72763db commit 864cd03

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

Ajax/semantic/html/base/traits/BaseTrait.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use Ajax\semantic\html\base\constants\Direction;
88
use Ajax\semantic\html\elements\HtmlIcon;
99
use Ajax\service\JString;
10+
use Ajax\semantic\html\base\HtmlSemDoubleElement;
1011

1112
/**
1213
* @author jc
@@ -109,7 +110,7 @@ public function setSize($size) {
109110
/**
110111
* show it is currently unable to be interacted with
111112
* @param boolean $disable
112-
* @return \Ajax\semantic\html\elements\HtmlSemDoubleElement
113+
* @return HtmlSemDoubleElement
113114
*/
114115
public function setDisabled($disable=true) {
115116
if($disable)
@@ -120,31 +121,31 @@ public function setDisabled($disable=true) {
120121
/**
121122
*
122123
* @param string $color
123-
* @return \Ajax\semantic\html\base\HtmlSemDoubleElement
124+
* @return HtmlSemDoubleElement
124125
*/
125126
public function setColor($color) {
126127
return $this->addToPropertyCtrl("class", $color, Color::getConstants());
127128
}
128129

129130
/**
130131
*
131-
* @return \Ajax\semantic\html\base\HtmlSemDoubleElement
132+
* @return HtmlSemDoubleElement
132133
*/
133134
public function setFluid() {
134135
return $this->addToProperty("class", "fluid");
135136
}
136137

137138
/**
138139
*
139-
* @return \Ajax\semantic\html\base\HtmlSemDoubleElement
140+
* @return HtmlSemDoubleElement
140141
*/
141142
public function asHeader(){
142143
return $this->addToProperty("class", "header");
143144
}
144145

145146
/**
146147
* show it is currently the active user selection
147-
* @return \Ajax\semantic\html\base\HtmlSemDoubleElement
148+
* @return HtmlSemDoubleElement
148149
*/
149150
public function setActive($value=true){
150151
if($value)

Ajax/semantic/html/base/traits/MenuItemTrait.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
use Ajax\service\JString;
66
use Ajax\semantic\html\elements\HtmlInput;
77
use Ajax\semantic\html\base\constants\Direction;
8+
use Ajax\semantic\html\content\HtmlDropdownItem;
9+
use Ajax\semantic\html\content\HtmlMenuItem;
810

911
/**
1012
* @author jc
@@ -34,7 +36,7 @@ public function setContent($content){
3436
/**
3537
* @param string $placeholder
3638
* @param string $icon
37-
* @return \Ajax\semantic\html\content\HtmlDropdownItem|\Ajax\semantic\html\content\HtmlMenuItem
39+
* @return HtmlDropdownItem|HtmlMenuItem
3840
*/
3941
public function asSearchInput($placeholder=NULL,$icon=NULL){
4042
$this->setClass("ui icon search input");
@@ -48,7 +50,7 @@ public function asSearchInput($placeholder=NULL,$icon=NULL){
4850
}
4951

5052
/**
51-
* @return \Ajax\semantic\html\content\HtmlDropdownItem|\Ajax\semantic\html\content\HtmlMenuItem
53+
* @return HtmlDropdownItem|HtmlMenuItem
5254
*/
5355
public function asDivider(){
5456
$this->content=NULL;
@@ -60,7 +62,7 @@ public function asDivider(){
6062
/**
6163
* @param string $caption
6264
* @param string $icon
63-
* @return \Ajax\semantic\html\content\HtmlDropdownItem|\Ajax\semantic\html\content\HtmlMenuItem
65+
* @return HtmlDropdownItem|HtmlMenuItem
6466
*/
6567
public function asHeader($caption=NULL,$icon=NULL){
6668
$this->setClass("header");

0 commit comments

Comments
 (0)