SilverWare\Datepicker\Extensions\DateFieldExtension
An extension class which adds datepicker functionality to extended objects.
- Author: Colin Tucker <colin@praxis.net.au>
- Copyright: 2017 Praxis Interactive
- License: https://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
Synopsis
class DateFieldExtension
extends Extension
{
- // methods
- public void updateAttributes()
- public $this->owner setDatepickerFormat()
- public string getDatepickerFormat()
- public $this->owner setDatepickerPolyfill()
- public string getDatepickerPolyfill()
Hierarchy
Extends
- SilverStripe\Core\Extension
Methods
public
- getDatepickerFormat() — Answers the datepicker format defined by the extended object.
- getDatepickerPolyfill() — Answers the datepicker polyfill setting defined by the extended object.
- setDatepickerFormat() — Defines the datepicker format for the extended object.
- setDatepickerPolyfill() — Defines the datepicker polyfill setting for the extended object.
- updateAttributes() — Updates the HTML attributes of the extended object.