Viewing file: Second.php (1.28 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
* @package SPLIB
* @version $Id: Second.php,v 1.1 2003/12/12 08:06:07 kevin Exp $
*/
/**
* Define include path and include required files
*/
@define('CALENDAR_PATH','DateTime/');
require_once(CALENDAR_PATH.'Calendar.php');
/**
* Represents a Second<br />
* <b>Note:</b> Seconds do not build other objects
* so related methods are overridden to return false
* @package SPLIB
*/
class 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 Second($y, $m, $d, $h, $i, $s)
{
Calendar::Calendar($y, $m, $d, $h, $i, $s);
}
/**
* Overwrite build
* @return boolean false
*/
function build()
{
return false;
}
/**
* Overwrite fetch
* @return boolean false
*/
function fetch()
{
return false;
}
/**
* Overwrite fetchAll
* @return boolean false
*/
function fetchAll()
{
return false;
}
/**
* Overwrite size
* @return boolean false
*/
function size()
{
return false;
}
}
?>
|