Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Event Calendar - get_by_id

Go to End

2 Posts   1485 Views


Community Member, 15 Posts

5 September 2009 at 3:39am


I extended CalendarDateTime and everything was working fine, but when I'm not getting the associated CourseOrEvent when using get_by_id.

CourseOrEvent is an extension of CalendarEvent.

Both of these extensions are based on the tutorial:

DataObject::get_by_id('CourseOrEventDateTime', $this->_courseoreventdatetimeID)

The CourseOrEventID is being returned as 0 event though it is saved fine in the db.

Any ideas?

I'm running SS 2.3.3 and event_calendar 0.3



Forum Moderator, 4102 Posts

5 September 2009 at 4:18am

Why is there an underscore in front of it?

I don't really have any context on what you're doing. Can you post some code?