stategamer, on 09 November 2009 - 10:50 PM, said:
if u look in the first file ur not escaping ur '.
And when u look at the colours ull see its going wrong somewhere :P
i see u edit-ed it, are u still getting the problem?
oh and i believe u can only use "::" on static functions.
oh and did u try using 'public,private,static,protected' ?
Yeah, I edited out the password, but used the word "it's", which threw out the code (at least the colouring). Only noticed after I posted.
I'm still getting the problem.
How would I make that a static function? (Will Google, in the meantime.)
e: Mkay, went to the php.net page concerning such matters, and only confused myself more. Adding static or public (or both) to the function did not change my error.
Also, changing to that arrow cause me to get a parse error instead.
e2: Swapping out
System::getSettings(); for
parent::getSettings(); returns the same error message. (i.e. "System::getsettings()" is still undefined.) At the very least, it tells me it's having no trouble accepting that System exists (not that I needed any extra proof - it wouldn't get past the "extends" line if that was the problem), it just refuses to believe that getSettings() is a valid function...