public function display($name, $html, $width, $height, $col, $row, $buttons = true, $id = null, $asset = null, $author = null, $params = array())
	{
		$this->asset  = $asset;
		$this->author = $author;
		$this->load($params);

		// Check whether editor is already loaded
		if (is_null($this->editor))
		{
			return;
		}

		// Backwards compatibility. Width and height should be passed without a semicolon from now on.
		// If editor plugins need a unit like "px" for CSS styling, they need to take care of that
		$width  = str_replace(';', '', $width);
		$height = str_replace(';', '', $height);

		$id = $id ?: $name;

		// Initialise variables.
		$return = null;

		$results[] = $this->editor->onDisplay($name, $html, $width, $height, $col, $row, $buttons, $id, $asset, $author, $params);

		foreach ($results as $result)
		{
			if (trim($result))
			{
				$return .= $result;
			}
		}
		return $return;
	}
public function display($name, $html, $width, $height, $col, $row, $buttons = true, $id = null, $asset = null, $author = null, $params = array())
	{
		$this->asset  = $asset;
		$this->author = $author;
		$this->load($params);

		// Check whether editor is already loaded
		if (is_null($this->editor))
		{
			return;
		}

		// Backwards compatibility. Width and height should be passed without a semicolon from now on.
		// If editor plugins need a unit like "px" for CSS styling, they need to take care of that
		$width  = str_replace(';', '', $width);
		$height = str_replace(';', '', $height);

		$id = $id ?: $name;

		// Initialise variables.
		$return = null;

		$results[] = $this->editor->onDisplay($name, $html, $width, $height, $col, $row, $buttons, $id, $asset, $author, $params);

		foreach ($results as $result)
		{
			if (trim($result))
			{
				$return .= $result;
			}
		}
		return $return;
	}
public function display ( $ name , $ html , $ width , $ height , $ col , $ row , $ buttons = true , $ id = null , $ asset = null , $ author = null , $ params = array ( ) ) { $ this -> asset = $ asset ; $ this -> author = $ author ; $ this -> load ( $ params ) ; // Check whether editor is already loaded if ( is_null ( $ this -> editor ) ) { return ; } // Backwards compatibility. Width and height should be passed without a semicolon from now on. // If editor plugins need a unit like "px" for CSS styling, they need to take care of that $ width = str_replace ( ';' , '' , $ width ) ; $ height = str_replace ( ';' , '' , $ height ) ; $ id = $ id ? : $ name ; // Initialise variables. $ return = null ; $ results [ ] = $ this -> editor -> onDisplay ( $ name , $ html , $ width , $ height , $ col , $ row , $ buttons , $ id , $ asset , $ author , $ params ) ; foreach ( $ results as $ result ) { if ( trim ( $ result ) ) { $ return .= $ result ; } } return $ return ; }
Display the editor area.

@param   string   $name     The control name.
@param   string   $html     The contents of the text area.
@param   string   $width    The width of the text area (px or %).
@param   string   $height   The height of the text area (px or %).
@param   integer  $col      The number of columns for the textarea.
@param   integer  $row      The number of rows for the textarea.
@param   boolean  $buttons  True and the editor buttons will be displayed.
@param   string   $id       An optional ID for the textarea (note: since 1.6). If not supplied the name is used.
@param   string   $asset    The object asset
@param   object   $author   The author.
@param   array    $params   Associative array of editor parameters.
@return  string
Display the editor area .