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

Class: Date_Holidays_Filter_Whitelist

Source Location: /Date_Holidays-0.15.1/Holidays/Filter/Whitelist.php

Class Overview

Date_Holidays_Filter
   |
   --Date_Holidays_Filter_Whitelist

Class that represents a filter which has knowledge about the holidays that driver-calculations are limited to.


Author(s):

Version:

  • $Id: Whitelist.php,v 1.4 2005/02/13 21:51:47 luckec Exp $

Methods


Child classes:

Date_Holidays_Filter_Germany_BadenWuerttemberg
Filter that only accepts official holidays in Baden-Württemberg.
Date_Holidays_Filter_Germany_Bavaria
Filter that only accepts official holidays in Bavaria.
Date_Holidays_Filter_Germany_Berlin
Filter that only accepts official holidays in Berlin.
Date_Holidays_Filter_Germany_Brandenburg
Filter that only accepts official holidays in Brandenburg.
Date_Holidays_Filter_Germany_Bremen
Filter that only accepts official holidays in Bremen.
Date_Holidays_Filter_Germany_Hamburg
Filter that only accepts official holidays in Hamburg.
Date_Holidays_Filter_Germany_Hesse
Filter that only accepts official holidays in Hesse.
Date_Holidays_Filter_Germany_LowerSaxony
Filter that only accepts official holidays in Lower Saxony.
Date_Holidays_Filter_Germany_MecklenburgWesternPomerania
Filter that only accepts official holidays in Mecklenburg-Western Pomerania.
Date_Holidays_Filter_Germany_NorthRhineWestphalia
Filter that only accepts official holidays in North Rhine-Westphalia.
Date_Holidays_Filter_Germany_Official
Filter that only accepts official German holidays.
Date_Holidays_Filter_Germany_RhinelandPalatinate
Filter that only accepts official holidays in Rhineland-Palatinate.
Date_Holidays_Filter_Germany_Saarland
Filter that only accepts official holidays in the Saarland.
Date_Holidays_Filter_Germany_Saxony
Filter that only accepts official holidays in Saxony.
Date_Holidays_Filter_Germany_SaxonyAnhalt
Filter that only accepts official holidays in SaxonyAnhalt.
Date_Holidays_Filter_Germany_SchleswigHolstein
Filter that only accepts official holidays in Schleswig-Holstein.
Date_Holidays_Filter_Germany_Thuringia
Filter that only accepts official holidays in Thuringia.

Inherited Variables

Inherited Methods

Class: Date_Holidays_Filter

Date_Holidays_Filter::Date_Holidays_Filter()
Constructor.
Date_Holidays_Filter::accept()
Lets the filter decide whether a holiday shall be processed or not.
Date_Holidays_Filter::getFilteredHolidays()
Returns the internal names of holidays that are subject to the filter.
Date_Holidays_Filter::setFilteredHolidays()
Sets the internal names of holidays that are subject to the filter.

Class Details

[line 31]
Class that represents a filter which has knowledge about the holidays that driver-calculations are limited to.


[ Top ]


Method Detail

Date_Holidays_Filter_Whitelist (Constructor)   [line 51]

Date_Holidays_Filter_Whitelist Date_Holidays_Filter_Whitelist( array $holidays)

Constructor.

Parameters:

array   $holidays     numerical array that contains internal names of holidays

[ Top ]

accept   [line 62]

boolean accept( string $holiday)

Lets the filter decide whether a holiday shall be processed or not.
  • Return: true, if a holidays shall be processed, false otherwise

Overrides Date_Holidays_Filter::accept() (Lets the filter decide whether a holiday shall be processed or not.)

Parameters:

string   $holiday     a holidays' internal name

[ Top ]


Documentation generated on Sun, 15 Jan 2006 14:33:14 -0500 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.