Richard Lynch wrote:
[EMAIL PROTECTED] wrote:
...
how odd, i have assumed having a class static you could still throw around
variables inside it, or its only meant to stay in the one static method so
executing it like
As I understand it...
It's not that you can't use any variables at all -- It's t
[EMAIL PROTECTED] wrote:
>
>>
>> 1. you are calling the method on a object
>> (i.e. not as a static call like SessionHandler::getOrgSession())
>>
>> 2. the function (method) you are calling is _NOT_ defined as static.
>>
>> in your case you have defined all your methods as static so the
>> engi
electroteque wrote:
On 29/01/2005, at 12:02 AM, Jochem Maas wrote:
classes cannot be defined as static - defining them as abstract has
the effect
of being able to only use a given class statically (unless you
subclass it and the subclass
is not abstract).
abstract as in it is the final base cla
[EMAIL PROTECTED] wrote:
1. you are calling the method on a object
(i.e. not as a static call like SessionHandler::getOrgSession())
2. the function (method) you are calling is _NOT_ defined as static.
in your case you have defined all your methods as static so the
engine will not make $this ava
[EMAIL PROTECTED] wrote:
1. you are calling the method on a object
(i.e. not as a static call like SessionHandler::getOrgSession())
2. the function (method) you are calling is _NOT_ defined as static.
in your case you have defined all your methods as static so the
engine will not make $this ava
>
> 1. you are calling the method on a object
> (i.e. not as a static call like SessionHandler::getOrgSession())
>
> 2. the function (method) you are calling is _NOT_ defined as static.
>
> in your case you have defined all your methods as static so the
> engine will not make $this available e
Thomas Munz wrote:
I'm using PHP 5.0.3 and if a problem if a class method. I'm initializing a
class like that:
$o_SessionHandler = new SessionHandler();
var_dump($o_SessionHandler->getOrgSession());exit;
...
//-- returns the original login
static public function getOrgSession()
{
7 matches
Mail list logo