Welcome Guest, Not a member yet? Register   Sign In
Is it possible to pass a variable from MODEL to CONTROLLER?!
#2

[eluser]Unknown[/eluser]
You could create a function that returned the value you want to pass such as:
Code:
function varToPass() {
    return $varToPass;
}
then access it like
Code:
$this->your_model->varToPass();
I don't know if it's possible pass it so you can access it like a normal variable though :/


Messages In This Thread
Is it possible to pass a variable from MODEL to CONTROLLER?! - by El Forum - 12-12-2009, 07:36 PM



Theme © iAndrew 2016 - Forum software by © MyBB