1 | <?php |
||
24 | class CKEditorHelper extends Helper implements CKEditorRendererInterface |
||
25 | { |
||
26 | /** @var \Ivory\CKEditorBundle\Renderer\CKEditorRendererInterface */ |
||
27 | private $renderer; |
||
28 | |||
29 | /** |
||
30 | * Creates a CKEditor template helper. |
||
31 | * |
||
32 | * @param \Ivory\CKEditorBundle\Renderer\CKEditorRendererInterface $renderer The CKEditor renderer. |
||
33 | */ |
||
34 | public function __construct($renderer) |
||
56 | |||
57 | /** |
||
58 | * {@inheritdoc} |
||
59 | */ |
||
60 | public function renderBasePath($basePath) |
||
64 | |||
65 | /** |
||
66 | * {@inheritdoc} |
||
67 | */ |
||
68 | public function renderJsPath($jsPath) |
||
72 | |||
73 | /** |
||
74 | * {@inheritdoc} |
||
75 | */ |
||
76 | public function renderWidget($id, array $config, array $options = array()) |
||
80 | |||
81 | /** |
||
82 | * {@inheritdoc} |
||
83 | */ |
||
84 | public function renderDestroy($id) |
||
88 | |||
89 | /** |
||
90 | * {@inheritdoc} |
||
91 | */ |
||
92 | public function renderPlugin($name, array $plugin) |
||
96 | |||
97 | /** |
||
98 | * {@inheritdoc} |
||
99 | */ |
||
100 | public function renderStylesSet($name, array $stylesSet) |
||
104 | |||
105 | /** |
||
106 | * {@inheritdoc} |
||
107 | */ |
||
108 | public function renderTemplate($name, array $template) |
||
112 | |||
113 | /** |
||
114 | * {@inheritdoc} |
||
115 | */ |
||
116 | public function getName() |
||
120 | } |
||
121 |
If you suppress an error, we recommend checking for the error condition explicitly: