2012-02-12 111 views
0

我已經給出了一個問題陳述,我對zend框架比較新。Zend框架:Dao模型

/

> ** 
>  * create a new lead 
>  * 
>  * planId will be sent $_GET['planId'], the form should send the action to 
>  * the same page 
>  * a user should be logged in and he should be administrator of the plan 
>  * 
>  * @uses Plans_Model_Dao_Moderator::isAdmin 
>  * @throws unauthorized exception, catch the exception in error controller 
>  
> 
> > *   get the form from form builder module 
> >  * @uses Formbuilder_Model_Dao_Form::getForm 
> >  *  save in database 
> >  * @uses Leads_Model_Dao_Lead::save 
> >  *  send notifications to _POST['to'] 
> >  * @uses Zend_Mail 

從張貼在該論壇上,我可以理解,如何檢查管理權限較早的問題,我能更好地理解它..但那時候我還是堅持了後期即

@uses Formbuilder_Model_Dao_Form::getForm 
> >  *  save in database 
> >  * @uses Leads_Model_Dao_Lead::save 
> >  *  send notifications to _POST['to'] 
> >  * @uses Zend_Mail 

與如何與它進行纔會真正有幫助的任何幫助..

回答

0

在第二部分,它是在暗示: - 獲得形式在控制器&發送到視圖 - 成功提交表格保存到數據庫 - 成功保存發送通知電子郵件使用郵件的電子郵件地址與密鑰'到'