示例#1
0
 /**
  * Returns a reference to a editor object
  *
  * This method must be invoked as:
  * 		<pre>  $browser =JContentEditor::getInstance();</pre>
  *
  * @access	public
  * @return	JCE  The editor object.
  */
 public static function getInstance($config = array())
 {
     if (!isset(self::$instance)) {
         self::$instance = new WFEditor($config);
     }
     return self::$instance;
 }