예제 #1
0
 /**
  * Load the current group
  *
  * @return CGroups
  */
 static function loadCurrent()
 {
     if (!self::$_ref_current || !self::$_ref_current->_id) {
         global $g;
         self::$_ref_current = new CGroups();
         self::$_ref_current->load($g);
     }
     return self::$_ref_current;
 }