summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-12 16:54:27 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-12 16:54:27 +0100
commit2e241e2215363de22c9e8b832ef414587a8422b3 (patch)
tree726b309a839d2b30e4dacb34d633a2c1bd4e6cd0
parentfa0a7b759cf6f8ae03314d9b30172b03d2eae519 (diff)
renamed extension-lifetime document to extension-callbacks
-rw-r--r--documentation/extension-callbacks.html (renamed from documentation/extension-lifetime.html)6
-rw-r--r--documentation/variables.html2
2 files changed, 4 insertions, 4 deletions
diff --git a/documentation/extension-lifetime.html b/documentation/extension-callbacks.html
index 80a8fda..5c93736 100644
--- a/documentation/extension-lifetime.html
+++ b/documentation/extension-callbacks.html
@@ -1,4 +1,4 @@
-<h1>The lifetime of an extension</h1>
+<h1>Extension callbacks</h1>
<p>
As we <a href="loading-extension">explained before</a>, the get_module()
function is called when your extension is started. It returns a memory address
@@ -95,7 +95,7 @@ extern "C" {
The Php::Extension class has a method onRequest() that is used in the
above example to register a callback function. This callback is called right
before every pageview/request. And as you can see, it is
- permitted to use lambda functions.
+ permitted to use C++ lambda functions.
</p>
<p>
The onRequest() is not the only method in the Php::Extension object to
@@ -114,7 +114,7 @@ extern "C" {
The startup callback is called when the Zend engine has loaded your extension
and all functions and classes in it were registered. If you want to initialize
additional variables in your extension before the functions are going to get called,
- you can use the onStartup() function to register a callback to run this
+ you can use the onStartup() function and register a callback to run this
initialization code.
</p>
<p>
diff --git a/documentation/variables.html b/documentation/variables.html
index 4d8ba34..9476b70 100644
--- a/documentation/variables.html
+++ b/documentation/variables.html
@@ -314,5 +314,5 @@ std::cout &lt;&lt; Php::GLOBALS["b"] &lt;&lt; std::endl;
</p>
<p>
You can read more about this in the article about the
- <a href="extension-lifetime">the extension lifetime</a>.
+ <a href="extension-callbacks">the extension callbacks</a>.
</p>