initGeneral() public method

Initialize General sub form
public initGeneral ( ) : Config
return Config
Exemplo n.º 1
0
 /**
  * Test
  *
  * @return void
  */
 public function testInitGeneral()
 {
     $this->assertInstanceOf('GcConfig\\Form\\Config', $this->object->initGeneral());
 }
Exemplo n.º 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'));
 }