1 | <?php |
||
24 | final class ProgressBarComponentTwigExtension extends AbstractComponentTwigExtension { |
||
25 | |||
26 | /** |
||
27 | * Service name. |
||
28 | * |
||
29 | * @var string |
||
30 | */ |
||
31 | const SERVICE_NAME = "webeweb.bundle.bootstrapbundle.twig.extension.component.progress-bar"; |
||
32 | |||
33 | /** |
||
34 | * Displays a Bootstrap basic progress bar. |
||
35 | * |
||
36 | * @param array $args The arguments. |
||
37 | * @return string Returns the Bootstrap basic progress bar. |
||
38 | */ |
||
39 | public function bootstrapBasicProgressBarFunction(array $args = []) { |
||
42 | |||
43 | /** |
||
44 | * Displays a Bootstrap progress bar "Danger". |
||
45 | * |
||
46 | * @param array $args The arguments. |
||
47 | * @return string Returns the Bootstrap progress bar "Danger". |
||
48 | */ |
||
49 | public function bootstrapProgressBarDangerFunction(array $args = []) { |
||
52 | |||
53 | /** |
||
54 | * Displays a Bootstrap progress bar "Info". |
||
55 | * |
||
56 | * @param array $args The arguments. |
||
57 | * @return string Returns the Bootstrap progress bar "Info". |
||
58 | */ |
||
59 | public function bootstrapProgressBarInfoFunction(array $args = []) { |
||
62 | |||
63 | /** |
||
64 | * Displays a Bootstrap progress bar "Success". |
||
65 | * |
||
66 | * @param array $args The arguments. |
||
67 | * @return string Returns the Bootstrap progress bar "Success". |
||
68 | */ |
||
69 | public function bootstrapProgressBarSuccessFunction(array $args = []) { |
||
72 | |||
73 | /** |
||
74 | * Displays a Bootstrap progress bar "Warning". |
||
75 | * |
||
76 | * @param array $args The arguments. |
||
77 | * @return string Returns the Bootstrap progress bar "Warning". |
||
78 | */ |
||
79 | public function bootstrapProgressBarWarningFunction(array $args = []) { |
||
82 | |||
83 | /** |
||
84 | * Get the Twig functions. |
||
85 | * |
||
86 | * @return array Returns the Twig functions. |
||
87 | */ |
||
88 | public function getFunctions() { |
||
97 | |||
98 | } |
||
99 |