ppp and static / non-static are unrelated topics.
the former is regarding access control or visibility into the members
(variables or methods) of a class.
the latter is regarding whether a member can be called from the context of
an instance or not. essentially
static means to associate a function
I checked out the book from mister rethans and mister gutmans
and mister bakken, mh, its seems easier to simply say how the
book is named :))
To check out, what exactly it means, to create static and public
and so on methods. Yeah, I can easely call them static, as you
prefered.
But now there cam
Thank you very much Nathan.
You mean I should change the the method from public to static?
Is that right? I hope I was getting you right.
I now juggled around abit with the code, and as it happens most
of the time, in case I invoke the XML object, that the file
given was not read right.
When i i
judging by the method invocation you have shown
site::memcache($pointername, $dataset);
that indicates site is a class and memecahce is a method defined in site,
which is being invoked statically in this case.
and in the definition of memecache you showed, the definition does not have
the static
4 matches
Mail list logo