Ejemplo n.º 1
0
 public function getViewHelperConfig()
 {
     return array('factories' => array('formRow' => function ($sm) {
         $helper = new FormRow();
         $helper->setRenderErrors(true);
         return $helper;
     }));
 }
Ejemplo n.º 2
0
 public function getViewHelperConfig()
 {
     return array('factories' => array('formRow' => function ($sm) {
         $helper = new FormRow();
         $helper->setRenderErrors(false);
         return $helper;
     }), 'invokables' => array('administrationMenu' => 'Blog\\View\\Helper\\AdministrationMenu'));
 }