Skip to content

Commit 50d63bf

Browse files
committed
doc bug fixed
1 parent c791eaf commit 50d63bf

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

Ajax/bootstrap/html/HtmlForm.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,11 @@ public function compile(JsUtils $js=NULL, &$view=NULL) {
4747
$control->setLabel($label, false);
4848
break;
4949
case "select":
50-
$control=new HtmlSelect($futureElement);
50+
$control=new HtmlSelect($futureElement,"");
5151
$control->setProperty("size", $futureElementValues [1]);
5252
$control->setClass("form-control");
53-
$control->setLabel($this->getPart($futureElement));
53+
//$control->setLabel($this->getPart($futureElement));
54+
//TODO check Select label
5455
break;
5556
default:
5657
$control=new HtmlInput($futureElement);

Ajax/semantic/html/content/table/HtmlTableContent.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ public function getTdTagName($tagName) {
5656
* {@inheritDoc}
5757
*
5858
* @see \Ajax\common\html\HtmlCollection::createItem()
59+
* @return HtmlTR
5960
*/
6061
protected function createItem($value) {
6162
$count=$this->count();

Ajax/semantic/traits/SemanticComponentsTrait.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@
1818

1919
trait SemanticComponentsTrait {
2020

21+
/**
22+
* @param SimpleComponent $component
23+
* @param string|null $attachTo $attachTo
24+
* @param array|null $params
25+
* @return SimpleComponent
26+
*/
2127
public abstract function addComponent(SimpleComponent $component, $attachTo, $params);
2228

2329
/**

0 commit comments

Comments
 (0)