コード例 #1
0
ファイル: FormExtension.php プロジェクト: rsky/symfony
 public function renderHidden(FieldGroupInterface $form)
 {
     if (null === $this->templates) {
         $this->templates = $this->resolveResources($this->resources);
     }
     return $this->templates['hidden']->getBlock('hidden', array('fields' => $form->getHiddenFields()));
 }
コード例 #2
0
ファイル: FormExtension.php プロジェクト: netixpro/symfony
 public function renderHidden(FieldGroupInterface $form)
 {
     return $this->templates['hidden']->getBlock('hidden', array('fields' => $form->getHiddenFields()));
 }