Пример #1
0
 /**
  * @param PrototypesInterface $prototypes
  */
 public function buildPrototypes(PrototypesInterface $prototypes)
 {
     // manipulate container base prototypes
     $this->buildFormPrototype($prototypes->getFormPrototype());
     $this->buildContainerPrototype($prototypes->getContainerPrototype());
     $this->buildFieldsetPrototype($prototypes->getFieldsetPrototype());
     $this->buildFieldPrototype($prototypes->getFieldPrototype());
     $this->buildRowPrototype($prototypes->getRowPrototype());
     $this->buildAggregatorPrototype($prototypes->getAggregatorPrototype());
     // manipulate control base prototypes
     $this->buildInputPrototype($prototypes->getInputPrototype());
     $this->buildCheckboxPrototype($prototypes->getCheckboxPrototype());
     $this->buildSelectPrototype($prototypes->getSelectPrototype());
     $this->buildTextareaPrototype($prototypes->getTextareaPrototype());
     $this->buildButtonPrototype($prototypes->getButtonPrototype());
     // manipulate content base prototypes
     $this->buildContentPrototype($prototypes->getContentPrototype());
     $this->buildLabelPrototype($prototypes->getLabelPrototype());
     $this->buildHtmlPrototype($prototypes->getHtmlPrototype());
     $this->buildHtmlTagPrototype($prototypes->getHtmlTagPrototype());
     $this->buildViewPrototype($prototypes->getViewPrototype());
 }