function cmfcCalendar::factory in Calendar Systems 5
Same name and namespace in other branches
- 8 calendar/calendar.class.inc.php \cmfcCalendar::factory()
- 8.2 calendar/calendar.class.inc.php \cmfcCalendar::factory()
- 6.3 calendar/calendar.class.inc.php \cmfcCalendar::factory()
- 6 calendar/calendar.class.inc.php \cmfcCalendar::factory()
- 7.3 calendar/calendar.class.inc.php \cmfcCalendar::factory()
- 7 calendar/calendar.class.inc.php \cmfcCalendar::factory()
- 7.2 calendar/calendar.class.inc.php \cmfcCalendar::factory()
1 call to cmfcCalendar::factory()
File
- calendar/
calendar.class.inc.php, line 8
Class
- cmfcCalendar
- @todo - esfahbod multi calendar should be used as of base of this package
Code
function factory($name, $options) {
if ($name == 'old') {
//require_once('ca.class.inc.php');
//return new cmfcEmailSenderOld($options);
}
if ($name == 'v1') {
require_once dirname(__FILE__) . '/v1/calendarV1.class.inc.php';
return cmfcCalendarV1::factory($options);
}
}