public static function &get_instance() { if (!is_object(self::$_instance)) { self::$_instance = new GlobalContentOperations(); } return self::$_instance; }
/** * Get a handle to the CMS GlobalContentOperations object. If it does not yet * exist, this method will instantiate it. To disambiguate, this object has methods * for dealing with "Global Content Blocks," not to be confused with the ContentOperations * object available on a global basis from this class. * * @final * @see GlobalContentOperations * @return GlobalContentOperations handle to the GlobalContentOperations object */ public function &GetGlobalContentOperations() { return GlobalContentOperations::get_instance(); }