I have this code
$log开发者_如何学GoinData = $this->_request->getPost();
$loginForm = new Form_Login(); // extends Zend_Form
and I don't need to check if the form is valid.
How can insert $loginData into $loginForm?
$loginForm->populate($loginData);
I have this code
$log开发者_如何学GoinData = $this->_request->getPost();
$loginForm = new Form_Login(); // extends Zend_Form
and I don't need to check if the form is valid.
How can insert $loginData into $loginForm?
$loginForm->populate($loginData);
精彩评论