/[drupal]/contributions/modules/holidays/holidays.module
ViewVC logotype

Contents of /contributions/modules/holidays/holidays.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download) (as text)
Sun Jan 6 12:03:33 2008 UTC (22 months, 3 weeks ago) by mooffie
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +10 -2 lines
File MIME type: text/x-php
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