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

Class: Date_Holidays_Filter_Blacklist

Source Location: /Date_Holidays-0.17.1/Holidays/Filter/Blacklist.php

Class Overview

Date_Holidays_Filter
   |
   --Date_Holidays_Filter_Blacklist

Class that represents a filter which has knowledge about the holidays that must be excluded from driver-calculations.


Author(s):

Version:

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

Methods


Inherited Variables

Inherited Methods

Class: Date_Holidays_Filter

Date_Holidays_Filter::__construct()
Constructor.
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 must be excluded from driver-calculations.
  • Author: Carsten Lucke <luckec@tool-garage.de>
  • Version: $Id: Blacklist.php,v 1.4 2005/02/13 21:51:47 luckec Exp $


[ Top ]


Method Detail

Date_Holidays_Filter_Blacklist (Constructor)   [line 51]

Date_Holidays_Filter_Blacklist Date_Holidays_Filter_Blacklist( array $holidays)

Constructor.

Parameters:

array   $holidays     numerical array that contains internal names of holidays

[ Top ]

__construct (Constructor)   [line 41]

Date_Holidays_Filter_Blacklist __construct( array $holidays)

Constructor.

Creates a filter which has knowledge about the holidays that must be excluded from driver-calculations.


Overrides Date_Holidays_Filter::__construct() (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, 10 Jun 2007 12:30:08 -0400 by phpDocumentor 1.3.2. PEAR Logo Copyright © PHP Group 2004.