Parent Directory
|
Revision Log
|
Revision Graph
Some documentation added.
| 1 | <?php |
| 2 | |
| 3 | // $Id$ |
| 4 | |
| 5 | /** |
| 6 | * @file |
| 7 | * The 'holidays' Drupal module. It's simply a wrapper that pulls in the library file. |
| 8 | */ |
| 9 | |
| 10 | function holidays_factory($cal) { |
| 11 | require_once dirname(__FILE__) .'/lib/NativeCalendar.php'; |
| 12 | return NativeCalendar::factory($cal); |
| 13 | } |
| 14 | |
| 15 | function holidays_get_calendars() { |
| 16 | require_once dirname(__FILE__) .'/lib/NativeCalendar.php'; |
| 17 | return NativeCalendar::factory_list(); |
| 18 | } |
| 19 |
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |