public function save($editor)
	{
		$this->load();

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

		$return = '';
		$results[] = $this->editor->onSave($editor);

		foreach ($results as $result)
		{
			if (trim($result))
			{
				$return .= $result;
			}
		}

		return $return;
	}
public function save($editor)
	{
		$this->load();

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

		$return = '';
		$results[] = $this->editor->onSave($editor);

		foreach ($results as $result)
		{
			if (trim($result))
			{
				$return .= $result;
			}
		}

		return $return;
	}
public function save ( $ editor ) { $ this -> load ( ) ; // Check whether editor is already loaded if ( is_null ( $ this -> editor ) ) { return ; } $ return = '' ; $ results [ ] = $ this -> editor -> onSave ( $ editor ) ; foreach ( $ results as $ result ) { if ( trim ( $ result ) ) { $ return .= $ result ; } } return $ return ; }
Save the editor content

@param   string  $editor  The name of the editor control
@return  string
Save the editor content