2012-02-12 13 views
0

私は問題文を与えられており、比較的新しいzendフレームワークです。私はより良い..butそれを理解することができ、管理者権限をチェックするためにどのように私は理解することができ、このフォーラムに投稿され、以前の質問から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

第二の部分では、それが示唆された: を - 取得フォームに&ビューを送信 - データベースにフォーム保存を成功させた場合 - 成功した保存時に、POSTからのメールアドレスを使用して、 'to'へのメッセージを送信します。

関連する問題