Quote:
Originally Posted by Twinny
The function checking one...maybe... but definitely not one for checking an object for variables. Seems like an unnecessary process for a simple operation.
|
I couldn't think of much else that would be helpful to someone. :o
Quote:
Originally Posted by Chompy
PHP Code:
public function hasFunc(func) {
return (func in this.getfunctions());
}
public function isDynamicFunc(func) {
return (func in this.getdynamicvarnames());
}
public function hasVar(var) {
if (var in this.getdynamicvarnames())
return isValidVar(var);
}
public function isValidVar(var) {
return (this.(@ var) != null);
}
public function isObj(obj) {
return (obj.type() == 2);
}
public function isEditVar(var) {
return (var in this.geteditvarnames());
}
hehe
I just had to edit it :o
(<3)
|
You b****** you! Must you always Chompy?
