$form $form : \TbActiveForm Type \TbActiveForm — when created via TbActiveForm. This attribute is set to the form that renders the widget
registerClientScript() registerClientScript() ### .registerClientScript() Registers required client script for bootstrap datepicker. It is not used through bootstrap->registerPlugin in order to attach events if any