Ajax/semantic/html/content/HtmlGridCol.php 1 location
|
@@ 29-35 (lines=7) @@
|
26 |
|
* @param int $width |
27 |
|
* @return \Ajax\semantic\html\content\HtmlGridCol |
28 |
|
*/ |
29 |
|
public function setWidth($width){ |
30 |
|
if(\is_int($width)){ |
31 |
|
$width=Wide::getConstants()["W".$width]; |
32 |
|
} |
33 |
|
$this->addToPropertyCtrl("class", $width, Wide::getConstants()); |
34 |
|
return $this->addToPropertyCtrl("class", "wide",array("wide")); |
35 |
|
} |
36 |
|
|
37 |
|
/** |
38 |
|
* 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 |
Ajax/semantic/html/collections/form/HtmlFormField.php 1 location
|
@@ 62-68 (lines=7) @@
|
59 |
|
* @param int $width |
60 |
|
* @return \Ajax\semantic\html\collections\form\HtmlFormField |
61 |
|
*/ |
62 |
|
public function setWidth($width){ |
63 |
|
if(\is_int($width)){ |
64 |
|
$width=Wide::getConstants()["W".$width]; |
65 |
|
} |
66 |
|
$this->addToPropertyCtrl("class", $width, Wide::getConstants()); |
67 |
|
return $this->addToPropertyCtrl("class", "wide",array("wide")); |
68 |
|
} |
69 |
|
} |