Ok thanks, i found something in that link below. Now i use all my variables
in model, form, inputFilter with camelCase Like i did in general and only in
Module.php i created the custom hydrator that map my fields from database
(with underscore) to camelCase.. I hope is the good method, but it works!
              
// Custom Hydrator Example
$hydrator = new \Application\Hydrator\TableEntityMapper(
            array(
                'is_active' => 'isActive',
                'food_name' => 'foodName',
            )
); 


See that link:
http://www.maltblue.com/tutorial/zendframework2-hydrators-models-tablegateway-pattern



--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/ZF2-Model-with-camelCase-variables-and-edit-form-tp4660045p4660071.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to