1 | <?php |
||
24 | final class GridTwigExtension extends AbstractGridTwigExtension { |
||
25 | |||
26 | /** |
||
27 | * Service name. |
||
28 | * |
||
29 | * @var string |
||
30 | */ |
||
31 | const SERVICE_NAME = "webeweb.bundle.bootstrapbundle.twig.extension.grid.grid"; |
||
32 | |||
33 | /** |
||
34 | * Constructor. |
||
35 | */ |
||
36 | public function __construct() { |
||
39 | |||
40 | /** |
||
41 | * Displays a Bootstrap grid. |
||
42 | * |
||
43 | * @param array $args The arguments. |
||
44 | * @return string Returns the Bootstrap grid. |
||
45 | */ |
||
46 | public function bootstrapGridFunction(array $args = []) { |
||
59 | |||
60 | /** |
||
61 | * Displays a Bootstrap offset grid. |
||
62 | * |
||
63 | * @param array $args The arguments. |
||
64 | * @return string Returns the Bootstrap offset grid. |
||
65 | */ |
||
66 | public function bootstrapOffsetGridFunction(array $args = []) { |
||
69 | |||
70 | /** |
||
71 | * Displays a Bootstrap pull grid. |
||
72 | * |
||
73 | * @param array $args The arguments. |
||
74 | * @return string Returns the Bootstrap pull grid. |
||
75 | */ |
||
76 | public function bootstrapPullGridFunction(array $args = []) { |
||
79 | |||
80 | /** |
||
81 | * Displays a Bootstrap push grid. |
||
82 | * |
||
83 | * @param array $args The arguments. |
||
84 | * @return string Returns the Bootstrap push grid. |
||
85 | */ |
||
86 | public function bootstrapPushGridFunction(array $args = []) { |
||
89 | |||
90 | /** |
||
91 | * Displays a Bootstrap stacked-to-horizontal grid. |
||
92 | * |
||
93 | * @param array $args The arguments. |
||
94 | * @return string Returns the Bootstrap stacked-to-horizontal grid. |
||
95 | */ |
||
96 | public function bootstrapStackedGridFunction(array $args = []) { |
||
99 | |||
100 | /** |
||
101 | * Get the Twig functions. |
||
102 | * |
||
103 | * @return array Returns the Twig functions. |
||
104 | */ |
||
105 | public function getFunctions() { |
||
114 | |||
115 | } |
||
116 |