Class lispa\amos\core\forms\editors\AmosDatePicker

Inheritancelispa\amos\core\forms\editors\AmosDatePicker » kartik\date\DatePicker

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$buttonOptions array The HTML attributes for the button that is rendered for \TYPE_BUTTON. lispa\amos\core\forms\editors\AmosDatePicker

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
renderAddon() Returns the addon to render lispa\amos\core\forms\editors\AmosDatePicker

Constants

Hide inherited constants

ConstantValueDescriptionDefined By
CALENDAR_ICON '' The markup to render the calendar icon in the date picker button. lispa\amos\core\forms\editors\AmosDatePicker

Property Details

$buttonOptions public property

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>
public array $buttonOptions = []

Method Details

renderAddon() protected method

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