1 | <?php |
||
24 | abstract class AbstractFormTwigExtension extends AbstractABSBMDTwigExtension { |
||
25 | |||
26 | /** |
||
27 | * Constructor. |
||
28 | */ |
||
29 | public function __construct() { |
||
32 | |||
33 | /** |
||
34 | * Displays a AdminBSB checkbox. |
||
35 | * |
||
36 | * @param string $content The checkbox content. |
||
37 | * @param string $name The checkbox name. |
||
38 | * @param string $id The checkbox id. |
||
39 | * @param boolean $checked Checked ? |
||
40 | * @param boolean $disabled Disabled ? |
||
41 | * @param boolean $filledIn Filled in ? |
||
42 | * @param string $class The checkbox class. |
||
43 | * @return string Returns the AdminBSB checkbox. |
||
44 | */ |
||
45 | final protected function adminBSBCheckbox($content, $name, $id, $checked, $disabled, $filledIn, $class) { |
||
66 | |||
67 | /** |
||
68 | * Displays a AdminBSB radio button. |
||
69 | * |
||
70 | * @param string $content The radio button content. |
||
71 | * @param string $name The radio button name. |
||
72 | * @param string $id The radio button id. |
||
73 | * @param boolean $checked Checked ? |
||
74 | * @param boolean $disabled Disabled ? |
||
75 | * @param boolean $withGap With gap ? |
||
76 | * @param string $class The radio button class. |
||
77 | * @return string Returns the AdminBSB radio button. |
||
78 | */ |
||
79 | final protected function adminBSBRadioButton($content, $name, $id, $checked, $disabled, $withGap, $class) { |
||
100 | |||
101 | /** |
||
102 | * Displays an AdminBSB switch button. |
||
103 | * |
||
104 | * @param string $offLabel The switch button off label. |
||
105 | * @param string $name The switch button name. |
||
106 | * @param boolean $checked Checked switch button ? |
||
107 | * @param boolean $disabled Disable switch button ? |
||
108 | * @param string $onLabel The switch button on label. |
||
109 | * @param array $attrs The switch button attributes. |
||
110 | * @param string $class The switch button class. |
||
111 | * @return string Returns the AdminBSB switch button. |
||
112 | */ |
||
113 | final protected function adminBSBSwitchButton($offLabel, $name, $checked, $disabled, $onLabel, array $attrs, $class = null) { |
||
134 | |||
135 | } |
||
136 |