src/CKEditorModule/View/Helper/CKEditor.php
public function getRenderedEditor($id, array $options = array())
    {
        $config = clone $this->options;
        $config->setFromArray($options);
        
        $basePath = $this->getView()->basePath($config->getBasePath());
        $editor = new \CKEditor($basePath);
        
        return $editor->replace($id, $this->optionsToCKEditorConfig($config));
    }
public function getRenderedEditor($id, array $options = array())
    {
        $config = clone $this->options;
        $config->setFromArray($options);
        
        $basePath = $this->getView()->basePath($config->getBasePath());
        $editor = new \CKEditor($basePath);
        
        return $editor->replace($id, $this->optionsToCKEditorConfig($config));
    }
public function getRenderedEditor ( $ id , array $ options = array ( ) ) { $ config = clone $ this -> options ; $ config -> setFromArray ( $ options ) ; $ basePath = $ this -> getView ( ) -> basePath ( $ config -> getBasePath ( ) ) ; $ editor = new \ CKEditor ( $ basePath ) ; return $ editor -> replace ( $ id , $ this -> optionsToCKEditorConfig ( $ config ) ) ; }
Generates output needed for CKEditor.

@param string $id The DOM ID to apply this editor to.
@param array $options An array of options specific to this instance.
@return string The HTML output.
Generates output needed for CKEditor .