base\Object hasMethod()

hasMethod() public method

Returns a value indicating whether a method is defined.

The default implementation is a call to php function method_exists(). You may override this method when you implemented the php magic method __call().

public boolean hasMethod ( $name )
$name string

The method name

return boolean

Whether the method is defined

doc_Yii
2016-10-30 16:52:11
Comments
Leave a Comment

Please login to continue.