[Midas] controller to view

Mona Wong mona at sdsc.edu
Thu Jul 5 15:26:56 EDT 2012


	Ok thanks Michael.  I'll check the variables already in view before setting more (:

thanks,
Mona


On Jul 5, 2012, at 12:23 PM, Michael Grauer wrote:

> This is the standard way of doing it, setting $this->view->mvariable .  I guess that could be a problem of overwriting, but we have not run into trouble with that.  For the most part, you set the values in your single controller action, and then use the values in your single view page, so you can see what variables are being set and used at a glance (somewhat anyway, the layout.pthml also gets called, etc, but uses only a few variables that you are unlikely to overwrite).  

*********************************************
    Mona Wong
    Web & iPad Application Developer
    San Diego Supercomputer Center

    "Forgive everyone everything."
				-- Regina Brett
*********************************************







More information about the Midas mailing list