1 | <?php |
||
21 | class CKEditorHelper extends Helper implements CKEditorRendererInterface |
||
22 | { |
||
23 | /** |
||
24 | * @var CKEditorRendererInterface |
||
25 | */ |
||
26 | private $renderer; |
||
27 | |||
28 | /** |
||
29 | * @param CKEditorRendererInterface $renderer |
||
30 | */ |
||
31 | 70 | public function __construct(CKEditorRendererInterface $renderer) |
|
35 | |||
36 | /** |
||
37 | * {@inheritdoc} |
||
38 | */ |
||
39 | 40 | public function renderBasePath($basePath) |
|
43 | |||
44 | /** |
||
45 | * {@inheritdoc} |
||
46 | */ |
||
47 | 40 | public function renderJsPath($jsPath) |
|
51 | |||
52 | /** |
||
53 | * {@inheritdoc} |
||
54 | */ |
||
55 | 50 | public function renderWidget($id, array $config, array $options = []) |
|
59 | |||
60 | /** |
||
61 | * {@inheritdoc} |
||
62 | */ |
||
63 | 50 | public function renderDestroy($id) |
|
67 | |||
68 | /** |
||
69 | * {@inheritdoc} |
||
70 | */ |
||
71 | 10 | public function renderPlugin($name, array $plugin) |
|
75 | |||
76 | /** |
||
77 | * {@inheritdoc} |
||
78 | */ |
||
79 | 10 | public function renderStylesSet($name, array $stylesSet) |
|
83 | |||
84 | /** |
||
85 | * {@inheritdoc} |
||
86 | */ |
||
87 | 10 | public function renderTemplate($name, array $template) |
|
91 | |||
92 | /** |
||
93 | * {@inheritdoc} |
||
94 | */ |
||
95 | 70 | public function getName() |
|
99 | } |
||
100 |