[Midas] controller to view

Mona Wong mona at sdsc.edu
Thu Jul 5 14:17:31 EDT 2012


> If you want a more human readable error view, just pass some sort of variable down to your view that causes the view to display the error condition.

	What's the proper way to pass a variable from controller to view?  Is it simply setting $this->view->myvariable = "my value" in the controller?  That seems to run into the danger of overwriting some other variables in view used by other functions?

Mona

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

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







More information about the Midas mailing list