php-doc-en/internals/zendapi/startup-and-shutdown.xml
Gabor Hojtsy 811a7db395 New internals documentation section added:
- PHP 3 development appendix moved to this part
 - Streams API docs moved to this part
 - ZendAPI docs with figures integrated in this part

More info: http://news.php.net/php.doc/969369673


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@194089 c90b9560-bf6c-de11-be94-00142212c4b1
2005-08-21 16:27:09 +00:00

47 lines
1.5 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!-- $Revision: 1.1 $ -->
<sect1 id="zend.startup-and-shutdown">
<title>Startup and Shutdown Functions</title>
<para>
Startup and shutdown functions can be used for one-time
initialization and deinitialization of your modules. As discussed
earlier in this chapter (see the description of the Zend module
descriptor block), there are module, and request startup
and shutdown events.
</para>
<para>
The module startup and shutdown functions are called whenever a
module is loaded and needs initialization; the request startup and
shutdown functions are called every time a request is processed
(meaning that a file is being executed).
</para>
<para>
For dynamic extensions, module and request startup/shutdown events
happen at the same time.
</para>
<para>
Declaration and implementation of these functions can be done with
macros; see the earlier section "Declaration of the Zend Module
Block" for details.
</para>
</sect1>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->