From: Daniel Gruno Date: Sat, 20 Apr 2013 07:13:04 +0000 (+0000) Subject: xforms X-Git-Tag: 2.5.0-alpha~5563 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cf9c1bc673a8c9062a1f67657b6f7b0d3a12c388;p=apache xforms git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1470116 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/developer/modguide.html.en b/docs/manual/developer/modguide.html.en index a58cb0a14c..de91332b8d 100644 --- a/docs/manual/developer/modguide.html.en +++ b/docs/manual/developer/modguide.html.en @@ -1658,7 +1658,7 @@ static int example_handler(request_rec *r) keyValuePair* formData; /*~~~~~~~~~~~~~~~~~~~~~~*/ - formData = readPost(); + formData = readPost(r); if (formData) { int i; for (i = 0; formData[i]; i++) { diff --git a/docs/manual/mod/mod_lua.html.en b/docs/manual/mod/mod_lua.html.en index 921589749b..3491ecd63e 100644 --- a/docs/manual/mod/mod_lua.html.en +++ b/docs/manual/mod/mod_lua.html.en @@ -880,10 +880,10 @@ r:escape_logitem(string) -- Escapes a string for logging
-r:strcmp_match(string, pattern) -- Checks if 'string' matches 'pattern' using strcmp_match (globs).
+r.strcmp_match(string, pattern) -- Checks if 'string' matches 'pattern' using strcmp_match (globs).
                         -- fx. whether 'www.example.com' matches '*.example.com':
                         
-local match = r:strcmp_match("foobar.com", "foo*.com")
+local match = r.strcmp_match("foobar.com", "foo*.com")
 if match then 
     r:puts("foobar.com matches foo*.com")
 end
@@ -915,9 +915,9 @@ r:custom_response(404, "Baleted!")
 
 
 
-r:exists_config_define(string) -- Checks whether a configuration definition exists or not:
+r.exists_config_define(string) -- Checks whether a configuration definition exists or not:
 
-if r:exists_config_define("FOO") then
+if r.exists_config_define("FOO") then
     r:puts("httpd was probably run with -DFOO, or it was defined in the configuration")
 end
 
@@ -967,6 +967,16 @@ r:dbacquire(dbType[, dbParams]) -- Acquires a connection to a database and retur
+
+r:ivm_set("key", value) -- Set an Inter-VM variable to hold a specific value.
+                        -- These values persist even though the VM is gone or not being used,
+                        -- and so should only be used if MaxConnectionsPerChild is > 0
+                        -- Values can be numbers, strings and booleans.
+                        
+r:ivm_get("key")        -- Fetches a variable set by ivm_set. Returns the contents of the variable
+                        -- if it exists or nil if no such variable exists.
+
+
top
diff --git a/docs/manual/mod/mod_lua.xml.fr b/docs/manual/mod/mod_lua.xml.fr index 499e2e26a1..66f9df3476 100644 --- a/docs/manual/mod/mod_lua.xml.fr +++ b/docs/manual/mod/mod_lua.xml.fr @@ -1,7 +1,7 @@ - + diff --git a/docs/manual/mod/mod_rewrite.xml.fr b/docs/manual/mod/mod_rewrite.xml.fr index 0a6bd0b13d..ca9835a0e0 100644 --- a/docs/manual/mod/mod_rewrite.xml.fr +++ b/docs/manual/mod/mod_rewrite.xml.fr @@ -1,7 +1,7 @@ - + diff --git a/docs/manual/mod/mod_rewrite.xml.meta b/docs/manual/mod/mod_rewrite.xml.meta index decc0a7b1e..0be21e86f4 100644 --- a/docs/manual/mod/mod_rewrite.xml.meta +++ b/docs/manual/mod/mod_rewrite.xml.meta @@ -8,6 +8,6 @@ en - fr + fr