Zend/Gdata/Gapps.php
public function retrieveGroup($groupId)
    {
        $query = $this->newGroupQuery($groupId);
        //$query->setGroupId($groupId);

        try {
            $group = $this->getGroupEntry($query);
        } catch (Zend_Gdata_Gapps_ServiceException $e) {
            // Set the group to null if not found
            if ($e->hasError(Zend_Gdata_Gapps_Error::ENTITY_DOES_NOT_EXIST)) {
                $group = null;
            } else {
                throw $e;
            }
        }
        return $group;
    }
public function retrieveGroup($groupId)
    {
        $query = $this->newGroupQuery($groupId);
        //$query->setGroupId($groupId);

        try {
            $group = $this->getGroupEntry($query);
        } catch (Zend_Gdata_Gapps_ServiceException $e) {
            // Set the group to null if not found
            if ($e->hasError(Zend_Gdata_Gapps_Error::ENTITY_DOES_NOT_EXIST)) {
                $group = null;
            } else {
                throw $e;
            }
        }
        return $group;
    }
public function retrieveGroup ( $ groupId ) { $ query = $ this -> newGroupQuery ( $ groupId ) ; //$query->setGroupId($groupId); try { $ group = $ this -> getGroupEntry ( $ query ) ; } catch ( Zend_Gdata_Gapps_ServiceException $ e ) { // Set the group to null if not found if ( $ e -> hasError ( Zend_Gdata_Gapps_Error :: ENTITY_DOES_NOT_EXIST ) ) { $ group = null ; } else { throw $ e ; } } return $ group ; }
Retrieves a group based on group id

@param string $groupId The unique identifier for the group
@return Zend_Gdata_Gapps_GroupEntry The group entry as returned by the server.
Retrieves a group based on group id