<?php
arr get_extension_funcs ( str $module_name )
where,
$module_name = Name of the extension to be checked
One of the extension names
obtained through the function:
get_loaded_extensions
?>
<?php
arr get_loaded_extensions([ bool $zend_extensions = FALSE ] )
where,
$zend_extensions = if TRUE only return Zend extensions
The default, FALSE return regular extensions
?>
VALUE | WHAT RETURNS? |
FALSE | REGULAR EXTENSIONS |
TRUE | Zend EXTENSIONS ONLY |
ed48 |
<?php $xt = 'standard'; ?>
<table width="100%" cellspacing="3" cellpadding="3"
border="1" align="center">
<tbody><tr>
<td colspan="2">AVAILABLE FUNCTIONS<br>
<?php echo $xt; ?></td></tr>
<tr><td>NDX<br>LIB</td><td>NAME</td></tr>
<?php
$exts01 = get_extension_funcs ($xt);
foreach ( $exts01 as $k => $func ) {
echo '<tr>
<td>' . ($k+1) . '</td>
<td>' . $func . '</td></tr>';
}
?>
<tr><td colspan="2">ed48</td></tr>
</tbody></table>
<table width="100%" cellspacing="3" cellpadding="3"
border="1" align="center">
<tbody>
<tr><td colspan="2">AVAILABLE FUNCTIONS</td></tr>
<tr><td>NDX<br>LIB</td><td>NAME</td></tr>
<?php
// The result of this exercise will depend
// of the configuration of your system
$exts = get_loaded_extensions ();
foreach ( $exts as $xt) {
$exts01 = get_extension_funcs ($xt);
if( $exts01 != FALSE) {
foreach ( $exts01 as $k => $func ) {
echo '<tr><td>' . ($k+1) . '<br>' . $xt . '</td><td>' . $func . '</td></tr>';
}
}
}
?>
<tr><td colspan="2">ed48</td></tr>
</tbody></table>