Class lispa\amos\core\forms\editors\AmosDatePicker
Inheritance | lispa\amos\core\forms\editors\AmosDatePicker » kartik\date\DatePicker |
---|
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$buttonOptions | array | The HTML attributes for the button that is rendered for \TYPE_BUTTON. | lispa\amos\core\forms\editors\AmosDatePicker |
Protected Methods
Method | Description | Defined By |
---|---|---|
renderAddon() | Returns the addon to render | lispa\amos\core\forms\editors\AmosDatePicker |
Constants
Constant | Value | Description | Defined By |
---|---|---|---|
CALENDAR_ICON | '' | The markup to render the calendar icon in the date picker button. | lispa\amos\core\forms\editors\AmosDatePicker |
Property Details
The HTML attributes for the button that is rendered for \TYPE_BUTTON. Defaults to
['class'=>'btn btn-default']
. The following special options are recognized:
- 'label': string the button label. Defaults to
<span class="glyphicon glyphicon-calendar"></span>
Method Details
Returns the addon to render
protected string renderAddon ( &$options, $type = 'picker' ) | ||
$options | array | The HTML attributes for the addon |
$type | string | Whether the addon is the picker or remove |