initGeneral() публичный Метод

Initialize General sub form
public initGeneral ( ) : Config
Результат Config
Пример #1
0
 /**
  * Test
  *
  * @return void
  */
 public function testInitGeneral()
 {
     $this->assertInstanceOf('GcConfig\\Form\\Config', $this->object->initGeneral());
 }
Пример #2
0
 /**
  * Generate general configuration form
  *
  * @return void
  */
 public function editGeneralAction()
 {
     $this->form = new configForm();
     $this->form->initGeneral();
     return $this->forward()->dispatch('CmsController', array('action' => 'edit'));
 }