Zend/Gdata/Gapps.php
public function insertGroup($group, $uri = null)
    {
        if ($uri === null) {
            $uri  = self::APPS_BASE_FEED_URI . self::APPS_GROUP_PATH . '/';
            $uri .= $this->getDomain();
        }
        $newEntry = $this->insertEntry($group, $uri, 'Zend_Gdata_Gapps_GroupEntry');
        return $newEntry;
    }
public function insertGroup($group, $uri = null)
    {
        if ($uri === null) {
            $uri  = self::APPS_BASE_FEED_URI . self::APPS_GROUP_PATH . '/';
            $uri .= $this->getDomain();
        }
        $newEntry = $this->insertEntry($group, $uri, 'Zend_Gdata_Gapps_GroupEntry');
        return $newEntry;
    }
public function insertGroup ( $ group , $ uri = null ) { if ( $ uri === null ) { $ uri = self :: APPS_BASE_FEED_URI . self :: APPS_GROUP_PATH . '/' ; $ uri .= $ this -> getDomain ( ) ; } $ newEntry = $ this -> insertEntry ( $ group , $ uri , 'Zend_Gdata_Gapps_GroupEntry' ) ; return $ newEntry ; }
Create a new group from a GroupEntry.

@param Zend_Gdata_Gapps_GroupEntry $group The group entry to insert.
@param string $uri (optional) The URI where the group should be
uploaded to. If null, the default user creation URI for
this domain will be used.
@return Zend_Gdata_Gapps_GroupEntry The inserted group entry as
returned by the server.
@throws Zend_Gdata_App_Exception
@throws Zend_Gdata_App_HttpException
@throws Zend_Gdata_Gapps_ServiceException
Create a new group from a GroupEntry .