Date_Holidays
[ class tree: Date_Holidays ] [ index: Date_Holidays ] [ all elements ]

Source for file Official.php

Documentation is available at Official.php

  1. <?php
  2. /* vim: set expandtab tabstop=4 shiftwidth=4: */
  3. /**
  4.  * Filter for Official holidays in Ireland.
  5.  *
  6.  * PHP Version 4
  7.  *
  8.  * Copyright (c) 1997-2008 The PHP Group
  9.  *
  10.  * This source file is subject to version 3.0 of the PHP license,
  11.  * that is bundled with this package in the file LICENSE, and is
  12.  * available at through the world-wide-web at
  13.  * http://www.php.net/license/3_01.txt.
  14.  * If you did not receive a copy of the PHP license and are unable to
  15.  * obtain it through the world-wide-web, please send a note to
  16.  * license@php.net so we can mail you a copy immediately.
  17.  *
  18.  * @category Date
  19.  * @package  Date_Holidays
  20.  * @author   Ken Guest <kguest@php.net>
  21.  * @license  http://www.php.net/license/3_01.txt PHP License 3.0.1
  22.  * @version  CVS: $Id: Official.php,v 1.8 2008/03/17 11:37:49 kguest Exp $
  23.  * @link     http://pear.php.net/package/Date_Holidays
  24.  */
  25.  
  26. /**
  27.  * Filter that only accepts official Irish holidays.
  28.  *
  29.  * @category   Date
  30.  * @package    Date_Holidays
  31.  * @subpackage Filter
  32.  * @author     Ken Guest <ken.guest@linux.ie>
  33.  * @license    http://www.php.net/license/3_01.txt PHP License 3.0.1
  34.  * @version    CVS: $Id: Official.php,v 1.8 2008/03/17 11:37:49 kguest Exp $
  35.  * @link       http://pear.php.net/package/Date_Holidays
  36.  */
  37. {
  38.     /**
  39.      * Constructor.
  40.      *
  41.      */
  42.     function __construct()
  43.     {
  44.         parent::__construct(array('newYearsDay',
  45.                                   'stPatricksDay',
  46.                                   'easterMonday',
  47.                                   'mayDayBankHoliday',
  48.                                   'juneBankHoliday',
  49.                                   'augustBankHoliday',
  50.                                   'octoberBankHoliday',
  51.                                   'christmasDay',
  52.                                   'boxingDay'));
  53.     }
  54.  
  55.     /**
  56.      * Constructor.
  57.      *
  58.      * Only accepts official Irish public holidays as described on
  59.      * http://www.citizensinformation.ie/
  60.      *
  61.      * @link http://www.citizensinformation.ie/
  62.      */
  63.     {
  64.         $this->__construct();
  65.     }
  66. }
  67. ?>

Documentation generated on Thu, 10 Apr 2008 20:00:22 -0400 by phpDocumentor 1.4.0. PEAR Logo Copyright © PHP Group 2004.