开发者

How to insert data into a Zend_Form

开发者 https://www.devze.com 2023-03-27 02:05 出处:网络
I have this code $log开发者_如何学GoinData = $this->_request->getPost(); $loginForm = new Form_Login(); // extends 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

精彩评论

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