compile() защищенный Метод

Generate the form
protected compile ( ) : string
Результат string
Пример #1
0
 /**
  * {@inheritDoc}
  */
 protected function compile()
 {
     if ($this->jumpTo) {
         $i18n = $this->getI18n();
         $page = $this->objModel->getRelated('jumpTo');
         $jumpTo = $i18n->getTranslatedPage($page);
         if ($jumpTo && $jumpTo !== $page) {
             $this->objModel = new FormModelDecorator($this->objModel, $jumpTo);
             $this->jumpTo = $jumpTo->id;
         }
     }
     return parent::compile();
 }