public function setCKConfig($key, $value = null) {
        if (is_array($key)) {
            if (false === $value) {
                // Overwrite existing config
                $this->config = $key;
            } else {
                // Add to existing config
                foreach ($key as $idx => $value)
                {
                    $this->config[$idx] = $value;
                }
            }
        } else {
            // Set individual item, add to existing config
            $this->config[$key] = $value;
        }
    }
public function setCKConfig($key, $value = null) {
        if (is_array($key)) {
            if (false === $value) {
                // Overwrite existing config
                $this->config = $key;
            } else {
                // Add to existing config
                foreach ($key as $idx => $value)
                {
                    $this->config[$idx] = $value;
                }
            }
        } else {
            // Set individual item, add to existing config
            $this->config[$key] = $value;
        }
    }
public function setCKConfig ( $ key , $ value = null ) { if ( is_array ( $ key ) ) { if ( false === $ value ) { // Overwrite existing config
 $ this -> config = $ key ; } else { // Add to existing config
 foreach ( $ key as $ idx => $ value ) { $ this -> config [ $ idx ] = $ value ; } } } else { // Set individual item, add to existing config
 $ this -> config [ $ key ] = $ value ; } }
Set the configuration for the CKEditor

ARRAY
Use array as first parameter to set all items at once. This will
overwrite the existing config. Use false as second parameter to ADD
to the existing config

STRING
or use a string to set items one by one, the second parameter is
the value

@param string|array $key
@param mixed $value
Set the configuration for the CKEditor