1 | <?php |
||
7 | trait BaseTrait { |
||
8 | protected $_variations=[]; |
||
9 | protected $_states=[]; |
||
10 | protected $_baseClass; |
||
11 | |||
12 | protected abstract function setPropertyCtrl($name, $value, $typeCtrl); |
||
15 | |||
16 | public function addVariation($variation){ |
||
19 | |||
20 | public function addState($state){ |
||
23 | |||
24 | public function setVariation($variation){ |
||
28 | |||
29 | public function setState($state){ |
||
33 | |||
34 | /** |
||
35 | * {@inheritDoc} |
||
36 | * @see \Ajax\common\html\HtmlSingleElement::setSize() |
||
37 | */ |
||
38 | public function setSize($size){ |
||
41 | |||
42 | /** |
||
43 | * show it is currently unable to be interacted with |
||
44 | * @return \Ajax\semantic\html\elements\HtmlSemDoubleElement |
||
45 | */ |
||
46 | public function setDisabled(){ |
||
49 | |||
50 | /** |
||
51 | * @param string $color |
||
52 | * @return \Ajax\semantic\html\base\HtmlSemDoubleElement |
||
53 | */ |
||
54 | public function setColor($color){ |
||
57 | |||
58 | /** |
||
59 | * @return \Ajax\semantic\html\base\HtmlSemDoubleElement |
||
60 | */ |
||
61 | public function setFluid(){ |
||
64 | |||
65 | /** |
||
66 | * can be formatted to appear on dark backgrounds |
||
67 | */ |
||
68 | public function setInverted(){ |
||
71 | |||
72 | public function setCircular(){ |
||
75 | } |