Zend/Gdata/Gapps.php
public function addOwnerToGroup($email, $groupId)
    {
        $owner = $this->newOwnerEntry();

        $properties[] = $this->newProperty();
        $properties[0]->name = 'email';
        $properties[0]->value = $email;

        $owner->property = $properties;

        $uri  = self::APPS_BASE_FEED_URI . self::APPS_GROUP_PATH . '/';
        $uri .= $this->getDomain() . '/' . $groupId . '/owner';

        return $this->insertOwner($owner, $uri);
    }
public function addOwnerToGroup($email, $groupId)
    {
        $owner = $this->newOwnerEntry();

        $properties[] = $this->newProperty();
        $properties[0]->name = 'email';
        $properties[0]->value = $email;

        $owner->property = $properties;

        $uri  = self::APPS_BASE_FEED_URI . self::APPS_GROUP_PATH . '/';
        $uri .= $this->getDomain() . '/' . $groupId . '/owner';

        return $this->insertOwner($owner, $uri);
    }
public function addOwnerToGroup ( $ email , $ groupId ) { $ owner = $ this -> newOwnerEntry ( ) ; $ properties [ ] = $ this -> newProperty ( ) ; $ properties [ 0 ] -> name = 'email' ; $ properties [ 0 ] -> value = $ email ; $ owner -> property = $ properties ; $ uri = self :: APPS_BASE_FEED_URI . self :: APPS_GROUP_PATH . '/' ; $ uri .= $ this -> getDomain ( ) . '/' . $ groupId . '/owner' ; return $ this -> insertOwner ( $ owner , $ uri ) ; }
Add an email as an owner of a group

@param string $email Owner's email
@param string $groupId Group ownership to be checked for
@return Zend_Gdata_Gapps_OwnerEntry The OwnerEntry returned by the server
Add an email as an owner of a group