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

Class: Date_Holidays_Filter_Blacklist

Source Location: /Date_Holidays-0.21.8/Date/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:

  • CVS: $Id$

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 38]
Class that represents a filter which has knowledge about the holidays that must be excluded from driver-calculations.


[ Top ]


Method Detail

Date_Holidays_Filter_Blacklist (Constructor)   [line 60]

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 49]

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 72]

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 holiday's internal name

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:52:28 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.