|
// +----------------------------------------------------------------------+
//
// $Id: Second.php,v 1.1 2005-09-30 14:58:00 ddelon Exp $
//
/**
* @package Calendar
* @version $Id: Second.php,v 1.1 2005-09-30 14:58:00 ddelon Exp $
*/
/**
* Allows Calendar include path to be redefined
* @ignore
*/
if (!defined('CALENDAR_ROOT')) {
define('CALENDAR_ROOT', 'Calendar'.DIRECTORY_SEPARATOR);
}
/**
* Load Calendar base class
*/
require_once CALENDAR_ROOT.'Calendar.php';
/**
* Represents a Second
* Note: Seconds do not build other objects
* so related methods are overridden to return NULL
* @package Calendar
*/
class Calendar_Second extends Calendar
{
/**
* Constructs Second
* @param int year e.g. 2003
* @param int month e.g. 5
* @param int day e.g. 11
* @param int hour e.g. 13
* @param int minute e.g. 31
* @param int second e.g. 45
*/
function Calendar_Second($y, $m, $d, $h, $i, $s)
{
Calendar::Calendar($y, $m, $d, $h, $i, $s);
}
/**
* Overwrite build
* @return NULL
*/
function build()
{
return null;
}
/**
* Overwrite fetch
* @return NULL
*/
function fetch()
{
return null;
}
/**
* Overwrite fetchAll
* @return NULL
*/
function fetchAll()
{
return null;
}
/**
* Overwrite size
* @return NULL
*/
function size()
{
return null;
}
}
?>