Zend_Form INI config documentation

2 messages Options
Embed this post
Permalink
Joó Ádám

Zend_Form INI config documentation

Reply Threaded More More options
Print post
Permalink
Is there any thorough documentation on the configuration options of
Zend_Form provided by the INI config interface?


Thanks,
Ádám
weierophinney

Re: Zend_Form INI config documentation

Reply Threaded More More options
Print post
Permalink
-- Joó Ádám <[hidden email]> wrote
(on Friday, 06 February 2009, 01:18 PM +0100):
> Is there any thorough documentation on the configuration options of
> Zend_Form provided by the INI config interface?

Each subcomponent of Zend_Form documents how configuration works for
that component, and each discrete class has documentation of the various
set*() methods. I bring that up because the basic rules are:

  * All set*() methods (with some exclusions) translate directly to
    configuration options. So, for instance setLabel() has a
    corresponding 'label' configuration key.

  * Any other keys you specify will be registered as attributes of the
    given class (i.e., metadata). For elements, this means that if you
    provide, for instance, a 'class' key, you'll be registering a
    'class' property; for a form, it would register the 'class'
    attribute, and be accessible via getAttrib('class').

Hopefully that helps.

--
Matthew Weier O'Phinney
Software Architect       | [hidden email]
Zend Framework           | http://framework.zend.com/