Source for file Filter.php
Documentation is available at Filter.php
/* vim: set expandtab tabstop=4 shiftwidth=4: */
* Copyright (c) 1997-2008 The PHP Group
* This source file is subject to version 2.0 of the PHP license,
* that is bundled with this package in the file LICENSE, and is
* available at through the world-wide-web at
* http://www.php.net/license/2_02.txt.
* If you did not receive a copy of the PHP license and are unable to
* obtain it through the world-wide-web, please send a note to
* license@php.net so we can mail you a copy immediately.
* @author Carsten Lucke <luckec@tool-garage.de>
* @license http://www.php.net/license/3_01.txt PHP License 3.0.1
* @version CVS: $Id: Filter.php,v 1.7 2008/01/06 00:47:48 kguest Exp $
* @link http://pear.php.net/package/Date_Holidays
* Baseclass for a holiday-filter.
* @author Carsten Lucke <luckec@tool-garage.de>
* @license http://www.php.net/license/3_01.txt PHP License 3.0.1
* @version CVS: $Id: Filter.php,v 1.7 2008/01/06 00:47:48 kguest Exp $
* @link http://pear.php.net/package/Date_Holidays
* Internal names of holidays that are subject to the filter.
var $_internalNames = array ();
* Creates a new filter that knows, which holidays the
* calculating driver shall be restricted to.
* @param array $holidays numerical array that contains internal
$this->_internalNames = $holidays;
* Creates a new filter that knows, which holidays the
* calculating driver shall be restricted to.
* @param array $holidays numerical array that contains internal
* Returns the internal names of holidays that are subject to the filter.
return $this->_internalNames;
* Sets the internal names of holidays that are subject to the filter.
* @param array $holidays internal holiday-names
$this->_internalNames = $holidays;
* Lets the filter decide whether a holiday shall be processed or not.
* @param string $internalName a holidays' internal name
* @return boolean true, if a holidays shall be processed, false otherwise
function accept($internalName)
Documentation generated on Thu, 10 Apr 2008 20:00:17 -0400 by phpDocumentor 1.4.0. PEAR Logo Copyright © PHP Group 2004.
|