Aller au contenu principal

existm

Check if a method exist in a class

EXISTM

NAME

existm - Verify if a method exist in a class.

SYNOPSIS

existm(string class,string method);

DESCRIPTION

This function is used to check if a method exist in a class. If neither class nor method exists, it still returns false. 

PARAMETERS

class : required, string, name of the class that will be searched in.
method: required, string, name of the method that to search for.

RETURN

Returns true or false

EXAMPLES

if existm("classname","methodname") then
...
endif

SEE ALSO

AUTHOR

Written by Pierre Laplante and Caroline Laplante, <laplante@sednove.com>

MODIFICATIONS

1.0 2016-04-01 21:24:14 laplante@sednove.com

Edit

© 2024 extenso Inc. All rights reserved.