Hi Ben,

Essentially "$gc->newEventEntry()" really translate to "new
Zend_Gdata_Calendar_EventEntry()" underneath the hood.  The low level
Zend library utilizes the magic method "__call()" to enable shortened
version for class instantiation, this is useful when dealing with
really long class name.  Basically when you see method that starts
with "new" ie "newFoo", expect that there is a corresponding
Zend_Gdata_Calendar_Foo class that it is referring to.

Hope it helps,
Austin

On Nov 5, 6:57 pm, Ben <[EMAIL PROTECTED]> wrote:
> In the examples of Developer's Guide of Calendar Data API,
> In PHP, on creating Event, I found the function "newEventEntry()".
>
>   $gc = new Zend_Gdata_Calendar($client);
>   $newEntry = $gc->newEventEntry();
>
> However, I cannot found this function in the Class 
> Documentation.http://framework.zend.com/apidoc/core/
>
> Do anyone know where the function "newEventEntry()" comes from?
>
> Thanks


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" 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-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to