Welcome Guest, Not a member yet? Register   Sign In
Help! How to set some general (global) vaiables?
#7

[eluser]victorche[/eluser]
[quote author="gyo / suashi" date="1281367143"]Like this:
...
You might need to set the variable in MY_Controller as public if you're using PHP5.[/quote]
Really thanks :]
But another reply means another question :]
How can I set the variable as public? I know I can set a function as public, but variable...
Code:
public function this_is_public()
{
   // This is a public one ...
}
But how can I do it with a variable? Sorry for these stupid questions, but I am still learning, you know :/


Messages In This Thread
Help! How to set some general (global) vaiables? - by El Forum - 08-09-2010, 12:35 AM
Help! How to set some general (global) vaiables? - by El Forum - 08-09-2010, 02:47 AM
Help! How to set some general (global) vaiables? - by El Forum - 08-09-2010, 03:02 AM
Help! How to set some general (global) vaiables? - by El Forum - 08-09-2010, 03:26 AM
Help! How to set some general (global) vaiables? - by El Forum - 08-09-2010, 03:44 AM
Help! How to set some general (global) vaiables? - by El Forum - 08-09-2010, 04:19 AM
Help! How to set some general (global) vaiables? - by El Forum - 08-09-2010, 04:29 AM
Help! How to set some general (global) vaiables? - by El Forum - 08-09-2010, 04:49 AM
Help! How to set some general (global) vaiables? - by El Forum - 08-09-2010, 04:49 AM
Help! How to set some general (global) vaiables? - by El Forum - 08-09-2010, 05:04 AM
Help! How to set some general (global) vaiables? - by El Forum - 08-09-2010, 05:10 AM
Help! How to set some general (global) vaiables? - by El Forum - 08-09-2010, 05:11 AM
Help! How to set some general (global) vaiables? - by El Forum - 08-09-2010, 05:12 AM
Help! How to set some general (global) vaiables? - by El Forum - 08-09-2010, 05:14 AM
Help! How to set some general (global) vaiables? - by El Forum - 08-10-2010, 01:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB