Back to Editor class

Method initialise

public void
initialise
()
Initialise the editor
Returns
  • void
Since
  • 1.5
Class: Editor
Project: Joomla

Method initialise - Source code

/**
 * Initialise the editor
 *
 * @return  void
 *
 * @since   1.5
 */
public function initialise()
{
    // Check if editor is already loaded
    if ($this->_editor === null) {
        return;
    }
    if (method_exists($this->_editor, 'onInit')) {
        \call_user_func(array($this->_editor, 'onInit'));
    }
}