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
|
@@ 46-52 (lines=7) @@
|
43 |
|
* @param int $width |
44 |
|
* @return \Ajax\semantic\html\content\HtmlGridRow |
45 |
|
*/ |
46 |
|
public function setWidth($width){ |
47 |
|
if(\is_int($width)){ |
48 |
|
$width=Wide::getConstants()["W".$width]; |
49 |
|
} |
50 |
|
$this->addToPropertyCtrl("class", $width, Wide::getConstants()); |
51 |
|
return $this->addToPropertyCtrl("class", "column",array("column")); |
52 |
|
} |
53 |
|
|
54 |
|
/** |
55 |
|
* return the col at $index |