Hi ALL, Actually this is not the first time this happens, never to mention faulty examples and faulty documentation where properties are placed under the wrong objects.
I actually got used to this mess, so I just don't bother anymore!! I just follow up on code new releases and hope for the best. Fun coding everyone. On Mar 14, 3:50 am, Jay Lee <[email protected]> wrote: > See my post here: > > http://groups.google.com/group/google-apps-apis/browse_thread/thread/... > > It seems Google has now updated their Docs before they have released > the updates to the actual API code which is unfortunate. I have been > waiting for the updates myself so I even grabbed the latest dev. code > from the Zend SVN repository but that doesn't contain the new Group > functions either :-( > > Oh well, at least maybe we're getting close? For now, you can use the > List functions to add/remove persons fromgroups. You'll just need to > use the Google Apps dashboard to mark who should be an Owner. > > Jay > > Wachaca wrote: > > Last year I created series of scripts for a University inPHPwhich > > keeps in sync all the students/teachers accounts in Apps. So that if > > they create a new user in their system, this gets reflected in Apps > > within the hour. > > > Same thing for lists, if a student joined a class or enrolled in a > > program, that student was automatically assigned to the propergroups. > > > Now I have to update these scripts to work withGroupsand I found > > some inconsistencies which make me think the following: > > Either I am a total fool, or no one has tried this yet. (I doubt I am > > the first in trying this so...) > > > Here is what I did > > 1 - read up on the newPHPdevelopers guide on how to create a group > > 2 - Download Zend Gdata 1.7.6 to make sure I have the latest version. > > 3 - create a simple script to create a test goup > > $service->CreateGroup($groupemail,$groupname,$groupdesc,"owner") > > > 4 - Error received "No such method CreateGroup" > > >PHPFatal error: Uncaught exception 'Zend_Gdata_App_Exception' with > > message 'No such method CreateGroup' in www/gmailProd/Zend/Gdata/ > > App.php:675 > > Stack trace: > > #0 www/gmailProd/Zend/Gdata/Gapps.php(632): Zend_Gdata_App->__call > > ('CreateGroup', Array) > > #1 [internal function]: Zend_Gdata_Gapps->__call('CreateGroup', Array) > > #2 www/gmailProd/lib/Glibs.php(141): Zend_Gdata_Gapps->CreateGroup > > ('Prueba7', 'Prueba7', 'Prueba7', 'Owner') > > #3 www/gmailProd/admin/groupmanager.php(11): Glibs->CreateGroup > > ('Prueba7', 'Owner') > > #4 {main} > > thrown in www/gmailProd/Zend/Gdata/App.phpon line 675 > > > So it seems that latest Zend Gdata Library is missing the group > > functions... allthough those functions are documented in thePHP > > Developers Guide... > > > Did I miss something? > > > Thanks for your help --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Apps APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-apps-apis?hl=en -~----------~----~----~----~------~----~------~--~---
