Welcome Guest, Not a member yet? Register   Sign In
Public Variables With Models?
#1

[eluser]ShoeLace1291[/eluser]
I was wondering if it is possible to set public variables with models. Example:
[code]
$this->news->articleInfo($id = 1);
echo $articleTitle;
[code]

The above code would be in a controller.


Messages In This Thread
Public Variables With Models? - by El Forum - 08-30-2010, 03:49 PM
Public Variables With Models? - by El Forum - 08-31-2010, 03:04 AM
Public Variables With Models? - by El Forum - 08-31-2010, 06:03 PM
Public Variables With Models? - by El Forum - 08-31-2010, 06:18 PM



Theme © iAndrew 2016 - Forum software by © MyBB