public static function &get_instance()
 {
     if (!is_object(self::$_instance)) {
         self::$_instance = new StylesheetOperations();
     }
     return self::$_instance;
 }
예제 #2
0
 /**
  * Get a handle to the CMS StylesheetOperations object. If it does not yet
  * exist, this method will instantiate it.
  *
  * @final
  * @see StylesheetOperations
  * @return StylesheetOperations handle to the StylesheetOperations object
  */
 public function &GetStylesheetOperations()
 {
     return StylesheetOperations::get_instance();
 }