public static function getInstance($editor = 'none')
	{
		$signature = serialize($editor);

		if (empty(self::$instances[$signature]))
		{
			self::$instances[$signature] = new self($editor);
		}

		return self::$instances[$signature];
	}
public static function getInstance($editor = 'none')
	{
		$signature = serialize($editor);

		if (empty(self::$instances[$signature]))
		{
			self::$instances[$signature] = new self($editor);
		}

		return self::$instances[$signature];
	}
public static function getInstance ( $ editor = 'none' ) { $ signature = serialize ( $ editor ) ; if ( empty ( self :: $ instances [ $ signature ] ) ) { self :: $ instances [ $ signature ] = new self ( $ editor ) ; } return self :: $ instances [ $ signature ] ; }
Returns the global Editor object, only creating it
if it doesn't already exist.

@param   string  $editor  The editor to use.
@return  object  The Editor object.
Returns the global Editor object only creating it if it doesn t already exist .