lib/steam/community/SteamGroup.php
/**
     * Creates a new <var>SteamGroup</var> instance or gets an existing one
     * from the cache for the group with the given ID
     *
     * @param string $id The custom URL of the group specified by the group
     *        admin or the 64bit group ID
     * @param bool $fetch if <var>true</var> the groups's data is loaded into
     *        the object
     * @param bool $bypassCache If <var>true</var> an already cached instance
     *        for this group will be ignored and a new one will be created
     * @return SteamGroup The <var>SteamGroup</var> instance of the requested
     *         group
     */
Creates a new SteamGroup instance or gets an existing one
from the cache for the group with the given ID

@param string $id The custom URL of the group specified by the group
admin or the 64bit group ID
@param bool $fetch if true the groups's data is loaded into
the object
@param bool $bypassCache If true an already cached instance
for this group will be ignored and a new one will be created
@return SteamGroup The SteamGroup instance of the requested
group
Creates a new SteamGroup instance or gets an existing one from the cache for the group with the given ID @param string $id The custom URL of the group specified by the group admin or the 64bit group ID @param bool $fetch if true the groups ' s data is loaded into the object @param bool $bypassCache If true an already cached instance for this group will be ignored and a new one will be created @return SteamGroup The SteamGroup instance of the requested group
public static function create($id, $fetch = true, $bypassCache = false) {
        $id = strtolower($id);
        if(self::isCached($id) && !$bypassCache) {
            $group = self::$steamGroups[$id];
            if($fetch && !$group->isFetched()) {
                $group->fetchMembers();
            }
            return $group;
        } else {
            return new SteamGroup($id, $fetch);
        }
    }
public static function create ( $ id , $ fetch = true , $ bypassCache = false ) { $ id = strtolower ( $ id ) ; if ( self :: isCached ( $ id ) && ! $ bypassCache ) { $ group = self :: $ steamGroups [ $ id ] ; if ( $ fetch && ! $ group -> isFetched ( ) ) { $ group -> fetchMembers ( ) ; } return $ group ; } else { return new SteamGroup ( $ id , $ fetch ) ; } }
Creates a new <var>SteamGroup</var> instance or gets an existing one
 from the cache for the group with the given ID
Creates a new <var > SteamGroup< / var > instance or gets an existing one from the cache for the group with the given ID