how to set zend form details in application.ini

976 Views Asked by At

Is there a way to set zend form details in the application config file (application.ini) in Zend Framework. I am looking for a way to move following details to config

  • A way to disable form decorators by default
  • set element Prefix Path
  • default decorator for different element type
  • validator path
  • plugin details
1

There are 1 best solutions below

0
On

Well you can check this link from the Zend Manual itself. It talks about using ini files to configure a form: Using a Zend_Config Object

You can add various configurations to your ini file and apply them to the form itself.