From 8779ed80dd5d6794f9d3739a2c2cf10f6b2ee767 Mon Sep 17 00:00:00 2001 From: Emiel Bruijntjes Date: Sun, 12 Apr 2015 12:37:11 +0200 Subject: update docs about dynamic loading --- documentation/dynamic-loading.html | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'documentation') diff --git a/documentation/dynamic-loading.html b/documentation/dynamic-loading.html index dbc7410..f57a997 100644 --- a/documentation/dynamic-loading.html +++ b/documentation/dynamic-loading.html @@ -267,14 +267,15 @@ $object->methodFromMyExtension(); or only for that specific pageview.

- Notice that the only thing that persists is the data in an extension. - In subsequent pageviews you must also load the extension to activate these - functions and classes, even if you had already loaded the extension persistently - in an earlier call. But because the extension was already loaded before, the - static data (like the database connection or the thread) are preserved. + Notice that if you set this parameter to true, the only thing that persists is + the data in an extension. In subsequent pageviews you will still have to + load the extension to activate the functions and classes in it, even if you had + already loaded the extension persistently in an earlier pageview. But because + the extension was already loaded before, the static data in it (like the database + connection or the thread) is preserved.

- The dl_unrestricted() function that we used above can be modified to include + The dl_unrestricted() function that we demonstrated above can be modified to include this persistent parameter:

-- cgit v1.2.3