/**
  * @param Select $select
  */
 protected function buildSelectPrototype(Select $select)
 {
     $select->setCssBaseTypeClass('ctrl')->setTranslationKey('control.{name}')->setComponentBaseType('control');
 }
Beispiel #2
0
 /**
  * @param Select $select
  * @return string
  */
 protected function renderSelect(Select $select)
 {
     return sprintf(self::FORMAT_SELECT, $select->getFullId(), $select->getCssClass(), $select->getFullName(), $select->getHtmlAttributesAsString(), $this->renderSelectOptions($select->getOptions()));
 }