Magic Factory Method for Obtaining Instances of Zend_Gdata Classes
// Create a new entry using the calendar service's //magic factory method $service = new Zend_Gdata_Calendar($client); $event= $service->newEventEntry();
This is a small piece of code from Zend manul on how to use Google Calendar.
At first I didn’t notice the comment in the very first line. I have navigated directly into the class Zend_Gdata_Calendar to explore the method newEvenEntry. Unfornately and weirdly, this method doesn’t exist ! Read the rest of this entry »