File: startup-and-shutdown.xml

package info (click to toggle)
php-doc 20100521-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 59,992 kB
  • ctags: 4,085
  • sloc: xml: 796,833; php: 21,338; cpp: 500; sh: 117; makefile: 58; awk: 28
file content (47 lines) | stat: -rw-r--r-- 1,546 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision: 297078 $ -->
 <sect2 xml:id="internals2.ze1.zendapi.startup-and-shutdown" xmlns="http://docbook.org/ns/docbook"> 
  <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> 
 </sect2> 
<!-- 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:"~/.phpdoc/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
-->