开发者

How to insert data into a Zend_Form

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);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜