1 | <?php |
||
25 | class MaterialDesignIconicFontPluginTwigExtension extends AbstractPluginTwigExtension { |
||
26 | |||
27 | /** |
||
28 | * Service name. |
||
29 | * |
||
30 | * @var string |
||
31 | */ |
||
32 | const SERVICE_NAME = "webeweb.bundle.bootstrapbundle.twig.extension.plugin.materialdesigniconicfont"; |
||
33 | |||
34 | /** |
||
35 | * Constructor. |
||
36 | */ |
||
37 | public function __construct() { |
||
40 | |||
41 | /** |
||
42 | * Get the Twig filters. |
||
43 | * |
||
44 | * @return Twig_SimpleFilter[] Returns the Twig filters. |
||
45 | */ |
||
46 | public function getFilters() { |
||
52 | |||
53 | /** |
||
54 | * Get the Twig functions. |
||
55 | * |
||
56 | * @return array Returns the Twig functions. |
||
57 | */ |
||
58 | public function getFunctions() { |
||
63 | |||
64 | /** |
||
65 | * Displays a Font Awesome. |
||
66 | * |
||
67 | * @param array $args The arguments. |
||
68 | * @return Returns a Font Awesome. |
||
69 | */ |
||
70 | public function materialDesignIconicFontIconFunction(array $args = []) { |
||
73 | |||
74 | /** |
||
75 | * Displays a Material Design Iconic Font list. |
||
76 | * |
||
77 | * @param array|string $items The list items. |
||
78 | * @return string Returns the Material Design Iconic Font list. |
||
79 | */ |
||
80 | public function materialDesignIconicFontListFilter($items) { |
||
91 | |||
92 | /** |
||
93 | * Displays a Material Design Iconic Font list icon. |
||
94 | * |
||
95 | * @param string $icon The Material Design Iconic Fonticon. |
||
96 | * @param string $content The content. |
||
97 | * @return string Returns the Material Design Iconic Font list icon. |
||
98 | */ |
||
99 | public function materialDesignIconicFontListIconFilter($icon, $content) { |
||
111 | |||
112 | } |
||
113 |