Re: i enconter a question when use Zend Framework's _foward function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Jan 27, 2008 10:01 PM, little btx <btxlittle@xxxxxxxxx> wrote:

> public function init()
> try{
>             $this->subject = new subject($subject_id);
>         }catch (Zend_Exception $e)
>         {
>
> $this->_forward('index','error',null,array('error'=>$e->getMessage());
>         }
> }
> when it catch the Zend_Exception ,the function _forward doesn't work
>


please keep posts on list for the benefit of others.
what is the precise error you receive when _forward() is called?
also, what is the context of this code you have posted?  are you extending
a class from the zend framework?

-nathan

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux