PHP 클래스 Form_Field_DateSelector, atk4

Unchecking combobox sets value to zero date '0000-00-00' and disables the controls. Years list starts from previous year and finishes with next one (three options total) by default. It could be altered using setYearRange() method.
저자: Kirich ([email protected])
상속: extends Form_Field
파일 보기 프로젝트 열기: atk4/atk4

공개 프로퍼티들

프로퍼티 타입 설명
$owner Form_Basic

보호된 프로퍼티들

프로퍼티 타입 설명
$c_day
$c_month
$c_year
$date_order
$days
$enabled
$months
$required
$year_from
$year_to
$years

공개 메소드들

메소드 설명
clearFieldValue ( )
disable ( )
enable ( )
get ( )
getInput ( $attr = [] )
init ( ) }}}
isEnabled ( )
loadPOST ( )
set ( $value )
setOrder ( $order )
setRequired ( $is_required = true )
setYearRange ( $from = null, $to = null )
validate ( )

메소드 상세

clearFieldValue() 공개 메소드

public clearFieldValue ( )

disable() 공개 메소드

public disable ( )

enable() 공개 메소드

public enable ( )

get() 공개 메소드

public get ( )

getInput() 공개 메소드

public getInput ( $attr = [] )

init() 공개 메소드

}}}
public init ( )

isEnabled() 공개 메소드

public isEnabled ( )

loadPOST() 공개 메소드

public loadPOST ( )

set() 공개 메소드

public set ( $value )

setOrder() 공개 메소드

public setOrder ( $order )

setRequired() 공개 메소드

public setRequired ( $is_required = true )

setYearRange() 공개 메소드

public setYearRange ( $from = null, $to = null )

validate() 공개 메소드

public validate ( )

프로퍼티 상세

$c_day 보호되어 있는 프로퍼티

protected $c_day

$c_month 보호되어 있는 프로퍼티

protected $c_month

$c_year 보호되어 있는 프로퍼티

protected $c_year

$date_order 보호되어 있는 프로퍼티

protected $date_order

$days 보호되어 있는 프로퍼티

protected $days

$enabled 보호되어 있는 프로퍼티

protected $enabled

$months 보호되어 있는 프로퍼티

protected $months

$owner 공개적으로 프로퍼티

public Form_Basic $owner
리턴 Form_Basic

$required 보호되어 있는 프로퍼티

protected $required

$year_from 보호되어 있는 프로퍼티

protected $year_from

$year_to 보호되어 있는 프로퍼티

protected $year_to

$years 보호되어 있는 프로퍼티

protected $years