Newbie Help w/ Constructors |
[eluser]mdgrech[/eluser]
I have some default variables I would like to set in my __construct for all my functions do use. Where am I going wrong here? Code: <?php
[eluser]tonanbarbarian[/eluser]
Code: <?php
[eluser]mdgrech[/eluser]
There has got to be a better way. Doing it your way would result in code like below. Which defeats the whole purpose of setting some default values that all my functions will inherit. Code: <?php
[eluser]InsiteFX[/eluser]
Then read about the MY_Controller in the User Guide! InsiteFX
[eluser]lianpeng[/eluser]
Very nice post. This will help possible client to get a quality person. cheap uggs and wedding dresses and jordan shoes sale |
Welcome Guest, Not a member yet? Register Sign In |