Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-30-2007, 03:21 AM
Junior Member
 
Join Date: Oct 2007
Posts: 1
Default how to pass param to one action of controller in code ?

Hi.

I want to pass paramter to other page and wrote it on the code php not no the link ?

Ho do I can do that ? How to create the global varable in Zend Framework ?

I am a newer using the Zend framework.


Thanks for your help so much.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 11-14-2007, 06:09 PM
Elemental's Avatar
Senior Member
 
Join Date: Jul 2007
Posts: 122
Default

To set global variables in ZF use the registry:

Zend_Registry::set('foo',$bar);

Zend_Registry::get('foo');
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:21 AM.