Esempio n. 1
0
 /**
  * Generate the options element.
  *
  * @return string|void
  */
 public function generate()
 {
     $template = new \FrontendTemplate($this->template);
     $template->options = $this->options;
     $template->element = $this;
     $template->tag = $this->getTag();
     $template->attributes = (array) $this->childAttributes->getAttributes();
     return $template->parse();
 }