PHP Class Form_Field_DatePicker, atk4

Inheritance: extends Form_Field_Line
Mostrar archivo Open project: atk4/atk4

Public Properties

Property Type Description
$options

Public Methods

Method Description
addCalendarIcon ( )
convertDate ( string $date, string $from = null, string $to = 'Y-m-d' ) : string | null Convert date from one format to another.
get ( )
getInput ( $attr = [] )
init ( )
set ( $value )

Method Details

addCalendarIcon() public method

public addCalendarIcon ( )

convertDate() public method

Convert date from one format to another.
public convertDate ( string $date, string $from = null, string $to = 'Y-m-d' ) : string | null
$date string Date in string format
$from string Optional source format, or null to use locale/date from configuration
$to string Optional target format, or null to use locale/date from configuration
return string | null

get() public method

public get ( )

getInput() public method

public getInput ( $attr = [] )

init() public method

public init ( )

set() public method

public set ( $value )

Property Details

$options public_oe property

public $options