xajaxCallableObject::hasMethod PHP Method

hasMethod() public method

Determines if the specified method name is one of the methods of the object referenced by obj>. sMethod - (object): The name of the method to check. Returns: boolean - True of the referenced object contains the specified method, false otherwise.
public hasMethod ( $sMethod )
    public function hasMethod($sMethod)
    {
        return method_exists($this->obj, $sMethod) || method_exists($this->obj, "__call");
    }