generate() публичный Метод

Generate the widget and return it as string
public generate ( ) : string
Результат string The widget markup
 /**
  * Generate the widget and return it as string
  *
  * @return string The widget markup
  */
 public function generate()
 {
     $this->bindDateTimePickerFileAndScript();
     $template = new FrontendTemplate('form_bootstrap_calendar_field');
     $template->input = parent::generate();
     $template->id = $this->id;
     $template->icon = $this->bsDateImage;
     $template->name = $this->name;
     return $template->parse();
 }