<tdclass="memname">if (!isset($hooks)) if (!isset($modules)) if (!isset($services)) get_hooks </td>
<td>(</td>
<tdclass="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<divclass="memdoc">
<p>
<aclass="el"href="modules_8inc_8php.html">modules.inc.php</a> Generic modules and services infrastructure<p>
Copyright Gottfried Haider, Danja Vasiliev 2010. This source code is licensed under the GNU General Public License. See the file COPYING for more details. get an array of all currently registered hooks<p>
call <aclass="el"href="modules_8inc_8php.html#23f8be02dc2148a3c860119a1d6ea276">load_modules()</a> before calling this function. <dlcompact><dt><b>Parameters:</b></dt><dd>
<tableborder="0"cellspacing="2"cellpadding="0">
<tr><tdvalign="top"></td><tdvalign="top"><em>string</em> </td><td>$service service name </td></tr>
</table>
</dl>
<dlclass="return"compact><dt><b>Returns:</b></dt><dd>array or false if not found </dd></dl>
this function is for information purposes only. you can also use a hook without registering it here. this is not recommended though. <dlcompact><dt><b>Parameters:</b></dt><dd>
<tableborder="0"cellspacing="2"cellpadding="0">
<tr><tdvalign="top"></td><tdvalign="top"><em>string</em> </td><td>$hook hook name </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>string</em> </td><td>$info some words on the hook's purpose </td></tr>
this function checks the arguments in $args against the (optional) declaration given in <aclass="el"href="modules_8inc_8php.html#e6ed600fb2ce39a4b0837bbb01fe8d6e">register_service()</a>. <dlcompact><dt><b>Parameters:</b></dt><dd>
<tableborder="0"cellspacing="2"cellpadding="0">
<tr><tdvalign="top"></td><tdvalign="top"><em>string</em> </td><td>$service service name </td></tr>