Sent from my iPhone
On 15/04/2013, at 11:20 PM, "Matthew Weier O'Phinney" <[email protected]> wrote: > On Wed, Apr 10, 2013 at 7:24 PM, David Muir <[email protected]> wrote: >> On 18/03/13 22:51, David Muir wrote: >>> >>> I've just set up a login form using the >>> Zend\Authorization\Validator\Authorization. >>> Overall things are working reasonably well, but there are few >>> annoyances/oddities. >>> >>> First, to load the validator, I have to reference the full classname >>> "Zend\Authorization\Validator\Authorization" instead of a short name like >>> you can with the standard validators (e.g. "EmailAddress" instead of >>> "Zend\Validator\EmailAddress"). >> >> >> Sorry, Authentication, not Authorization >> Figured out that it is not registered by default with the validator plugin >> manager. I tried adding to my module.config.php: >> >> 'validators' => array( >> 'invocables' => array( > > Hopefully the above is just a typo when creating the email -- if not, > then it's the problem: the key should be "invokables", with a "k", not > a "c". > > Yeah, it's just a typo in the email. The code had Invokables, so it works for the InputFilterFactory factory I described in my last email, but doesn't with the InputFilter:: getFactory(); used in the User Guide. Cheers, David -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
