1 | <?php |
||
24 | class SwitchButtonTwigExtension extends AbstractFormTwigExtension { |
||
25 | |||
26 | /** |
||
27 | * Service name. |
||
28 | * |
||
29 | * @var string |
||
30 | */ |
||
31 | const SERVICE_NAME = "webeweb.adminbsbbundle.twig.extension.form.switchbutton"; |
||
32 | |||
33 | /** |
||
34 | * Constructor. |
||
35 | */ |
||
36 | public function __construct() { |
||
39 | |||
40 | /** |
||
41 | * Displays an AdminBSB switch button "Basic". |
||
42 | * |
||
43 | * @param array $args The arguments. |
||
44 | * @return string Returns the AdminBSB switch button "Basic". |
||
45 | */ |
||
46 | public function adminBSBSwitchButtonBasicFunction(array $args = []) { |
||
49 | |||
50 | /** |
||
51 | * Displays an AdminBSB switch button "Material design". |
||
52 | * |
||
53 | * @param array $args The arguments. |
||
54 | * @return string Returns the AdminBSB switch button "Material Design". |
||
55 | */ |
||
56 | public function adminBSBSwitchButtonMaterialDesignFunction(array $args = []) { |
||
59 | |||
60 | /** |
||
61 | * Get the Twig functions. |
||
62 | * |
||
63 | * @return array Returns the Twig functions. |
||
64 | */ |
||
65 | public function getFunctions() { |
||
71 | |||
72 | } |
||
73 |