ReflectionExtension::getFunctions
(PHP 5)
ReflectionExtension::getFunctions — دریافت توابع ضمیمه
Description
public array ReflectionExtension::getFunctions
( void
)
دریافت توابع تعریف شده ضمیمه.
Parameters
This function has no parameters.
Return Values
آرایه شرکتپذیر اشیا ReflectionFunction برای هر تابع تعریف شده در این ضمیمه و کلیدها نام تابع . اگر تابعی تعریف نشده باشد آرایه خالی بازگردانده میشود.
Examples
Example #1 مثال ReflectionExtension::getFunctions()
<?php
$dom = new ReflectionExtension('SimpleXML');
print_r($dom->getFunctions());
?>
The above example will output something similar to:
Array
(
[simplexml_load_file] => ReflectionFunction Object
(
[name] => simplexml_load_file
)
[simplexml_load_string] => ReflectionFunction Object
(
[name] => simplexml_load_string
)
[simplexml_import_dom] => ReflectionFunction Object
(
[name] => simplexml_import_dom
)
)
There are no user contributed notes for this page.
