PHP Class Horde_Form_Type_datetime, horde

Inheritance: extends Horde_Form_Type
显示文件 Open project: horde/horde

Public Properties

Property Type Description
$_hms
$_mdy
$_show_seconds

Public Methods

Method Description
_getInfo ( $value, &$info )
about ( )
checktime ( $hour, $minute, $second )
emptyDateArray ( $date )
emptyTimeArray ( $time )
formatDate ( $date )
getDateOb ( $date_in )
getDateParts ( $date_in )
getInfo ( &$vars, &$var, &$info )
getProperty ( $property )
getTimeOb ( $time_in )
getTimeParts ( $time_in )
init ( integer $start_year = '', integer $end_year = '', boolean $picker = true, integer $format_in = null, integer $format_out = '%x', boolean $show_seconds = false ) Return the date supplied as a Horde_Date object.
isValid ( &$var, &$vars, $value, &$message )
setProperty ( $property, $value )

Method Details

_getInfo() public method

public _getInfo ( $value, &$info )

about() public method

public about ( )

checktime() public method

public checktime ( $hour, $minute, $second )

emptyDateArray() public method

public emptyDateArray ( $date )

emptyTimeArray() public method

public emptyTimeArray ( $time )

formatDate() public method

public formatDate ( $date )

getDateOb() public method

public getDateOb ( $date_in )

getDateParts() public method

public getDateParts ( $date_in )

getInfo() public method

public getInfo ( &$vars, &$var, &$info )

getProperty() public method

public getProperty ( $property )

getTimeOb() public method

public getTimeOb ( $time_in )

getTimeParts() public method

public getTimeParts ( $time_in )

init() public method

Return the date supplied as a Horde_Date object.
public init ( integer $start_year = '', integer $end_year = '', boolean $picker = true, integer $format_in = null, integer $format_out = '%x', boolean $show_seconds = false )
$start_year integer The first available year for input.
$end_year integer The last available year for input.
$picker boolean Do we show the DHTML calendar?
$format_in integer The format to use when sending the date for storage. Defaults to Unix epoch. Similar to the strftime() function.
$format_out integer The format to use when displaying the date. Similar to the strftime() function.
$show_seconds boolean Include a form input for seconds.

isValid() public method

public isValid ( &$var, &$vars, $value, &$message )

setProperty() public method

public setProperty ( $property, $value )

Property Details

$_hms public_oe property

public $_hms

$_mdy public_oe property

public $_mdy

$_show_seconds public_oe property

public $_show_seconds