function_exists(3) MudOS v21c2
(5 Sep 1994)
名称:
function_exists() - 找出含有指定函数的文件.
语法:
string function_exists( string str, object ob );
字符串 function_exists( 字符串 str, 物件 ob );
用法:
返回定义有函数 str 之物件 ob 的文件名称. 如果函数 str 是被定义在 ob
所继承的物件中, 返回的文件名称可能会与 file_name( ob ) 返回的不同.
如果物件 ob 中没有定义函数 str 则返回 0.
注意, function_exists() 不会检查 ob 的投影物件 (shadows).
参考:
翻译:
Spock @ FF 97.Feb.12. (printed 3/16/95)
回到上一页