/** * get singleton * * @access public * @return object **/ public static function getInstance() { if (!self::$instance) { self::$instance = new self(); CAT_Registry::register(array('USERS_PROFILE_ALLOWED' => 16), NULL, true); } return self::$instance; }