I haven't read the docs in question, but surely to make it easier this should
be specified, or at least a standard should be implemented throughout the
docs.

> >   - $username->addValidator('stringLength'...
> >   and
> >   - $password->addValidator('StringLength'...
> >   are different.

Those two just confuse anyone who reads it, if it doesn't have an
explanation somewhere (without having to read right through the validator
docs) (but like I said I haven't read it, just my thoughts to make it more
user friendly).

Simon


sayusi wrote:
> 
> On Tue, Mar 18, 2008 at 05:01:12PM -0400, Matthew Weier O'Phinney wrote:
>> > - 15.2.6. Putting it together
>> > has brackets
>> > $form = new Zend_Form();
>> > but/and - i don't know :) :
>> >   - $username->addValidator('stringLength'...
>> >   and
>> >   - $password->addValidator('StringLength'...
>> >   are different.
>> 
>> I actually purposely showed both as both are valid -- internally, we
>> ucfirst the string provided, so you can specify it either as
>> StringLength or stringLength.
> 
> Ohh, i understand!
> I didn't know what is the purpose. Thanks the information.
> 
> András
> 
> -- 
> -- Csanyi Andras - http://sayusi.hu - Sayusi Ando --
> -- "Bízzál Istenben és tartsd szárazon a puskaport!" - Cromwell --
> 
> 


-----
Simon Corless

http://www.ajb007.co.uk/
-- 
View this message in context: 
http://www.nabble.com/Little-errors-in-documentation-tp16128040s16154p16143417.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to