Ajax/semantic/html/content/HtmlGridCol.php 1 location
|
@@ 28-34 (lines=7) @@
|
25 |
|
* @param int $width |
26 |
|
* @return \Ajax\semantic\html\content\HtmlGridCol |
27 |
|
*/ |
28 |
|
public function setWidth($width){ |
29 |
|
if(\is_int($width)){ |
30 |
|
$width=Wide::getConstants()["W".$width]; |
31 |
|
} |
32 |
|
$this->addToPropertyCtrl("class", $width, Wide::getConstants()); |
33 |
|
return $this->addToPropertyCtrl("class", "wide",array("wide")); |
34 |
|
} |
35 |
|
|
36 |
|
/** |
37 |
|
* Defines the coll floating |
Ajax/semantic/html/content/HtmlGridRow.php 1 location
|
@@ 41-47 (lines=7) @@
|
38 |
|
* @param int $width |
39 |
|
* @return \Ajax\semantic\html\content\HtmlGridRow |
40 |
|
*/ |
41 |
|
public function setWidth($width){ |
42 |
|
if(\is_int($width)){ |
43 |
|
$width=Wide::getConstants()["W".$width]; |
44 |
|
} |
45 |
|
$this->addToPropertyCtrl("class", $width, Wide::getConstants()); |
46 |
|
return $this->addToPropertyCtrl("class", "column",array("column")); |
47 |
|
} |
48 |
|
|
49 |
|
/** |
50 |
|
* return the col at $index |