zend framework - is it possible to make a 'redirect' script in the library -


Is this possible?

Say I have FF:

  class My_Redirect {function test} () // // some tests // other tests // direct script}} < / thank you in advanced!   

Yes, it is possible to speak technically but since part of the 'controller' of MVC application requests / feedback I do not recommend it, I do not recommend it. The library can be seen as part of your 'model'.

If you want to redirect, you can use the Controller Assistant redirector , you can Zend_Controller_Response object, or you have a plain old PHP Headers () function (not recommended).


Comments

Popular posts from this blog

objective c - iPhone and it's wireless area -

unix - Listing all shared memory segments used by a process on AIX5.3+ -

tsql - Correct sql/hql query (aggregate in where clause) -