Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 3187

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Returns an array with the names of the functions of a module</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.get-defined-constants.html">get_defined_constants</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.get-include-path.html">get_include_path</a></div>
 <div class="up"><a href="ref.info.html">PHP Options/Info Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.get-extension-funcs" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">get_extension_funcs</h1>
  <p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">get_extension_funcs</span> &mdash; <span class="dc-title">Returns an array with the names of the functions of a module</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.get-extension-funcs-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">array</span> <span class="methodname"><strong>get_extension_funcs</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$module_name</code></span>
   )</div>

  <p class="para rdfs-comment">
   This function returns the names of all the functions defined in
   the module indicated by <em><code class="parameter">module_name</code></em>.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.get-extension-funcs-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   <dl>

    <dt>

     <span class="term"><em><code class="parameter">module_name</code></em></span>
     <dd>

      <p class="para">
       The module name.
      </p>
      <blockquote class="note"><p><strong class="note">Note</strong>: 
       <p class="para">
        This parameter must be in <em class="emphasis">lowercase</em>.
       </p>
      </p></blockquote>
     </dd>

    </dt>

   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.get-extension-funcs-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns an array with all the functions, or <strong><code>FALSE</code></strong> if 
   <em><code class="parameter">module_name</code></em> is not a valid extension.
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-function.get-extension-funcs-examples">
  <h3 class="title">Examples</h3>
  <p class="para">
   <div class="example" id="example-487">
    <p><strong>Example #1 Prints the XML functions</strong></p>
    <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br />print_r</span><span style="color: #007700">(</span><span style="color: #0000BB">get_extension_funcs</span><span style="color: #007700">(</span><span style="color: #DD0000">"xml"</span><span style="color: #007700">));<br /></span><span style="color: #0000BB">?&gt;</span>
</span>
</code></div>
    </div>

    <div class="example-contents"><p>The above example will output
something similar to:</p></div>
    <div class="example-contents screen">
<div class="cdata"><pre>
Array
(
    [0] =&gt; xml_parser_create
    [1] =&gt; xml_parser_create_ns
    [2] =&gt; xml_set_object
    [3] =&gt; xml_set_element_handler
    [4] =&gt; xml_set_character_data_handler
    [5] =&gt; xml_set_processing_instruction_handler
    [6] =&gt; xml_set_default_handler
    [7] =&gt; xml_set_unparsed_entity_decl_handler
    [8] =&gt; xml_set_notation_decl_handler
    [9] =&gt; xml_set_external_entity_ref_handler
    [10] =&gt; xml_set_start_namespace_decl_handler
    [11] =&gt; xml_set_end_namespace_decl_handler
    [12] =&gt; xml_parse
    [13] =&gt; xml_parse_into_struct
    [14] =&gt; xml_get_error_code
    [15] =&gt; xml_error_string
    [16] =&gt; xml_get_current_line_number
    [17] =&gt; xml_get_current_column_number
    [18] =&gt; xml_get_current_byte_index
    [19] =&gt; xml_parser_free
    [20] =&gt; xml_parser_set_option
    [21] =&gt; xml_parser_get_option
    [22] =&gt; utf8_encode
    [23] =&gt; utf8_decode
)
</pre></div>
    </div>
   </div>
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.get-extension-funcs-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"> <span class="function"><a href="function.get-loaded-extensions.html" class="function" rel="rdfs-seeAlso">get_loaded_extensions()</a> - Returns an array with the names of all modules compiled and loaded</span></li>
    <li class="member"> <span class="methodname"><a href="reflectionextension.getfunctions.html" class="methodname" rel="rdfs-seeAlso">ReflectionExtension::getFunctions()</a> - Gets extension functions</span></li>
   </ul>
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.get-defined-constants.html">get_defined_constants</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.get-include-path.html">get_include_path</a></div>
 <div class="up"><a href="ref.info.html">PHP Options/Info Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>