Index: openacs-4/packages/acs-templating/www/doc/api/request.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/api/request.adp,v diff -u -r1.4.2.2 -r1.4.2.3 --- openacs-4/packages/acs-templating/www/doc/api/request.adp 13 Jul 2023 12:48:33 -0000 1.4.2.2 +++ openacs-4/packages/acs-templating/www/doc/api/request.adp 2 Sep 2024 09:40:25 -0000 1.4.2.3 @@ -2,6 +2,10 @@ {/doc/acs-templating/ {ACS Templating}} {Templating System API: Page Request} Templating System API: Page Request +

Page Request

Templating System : API @@ -12,14 +16,11 @@

This API is an alternative to ad_page_contract which should usually be preferred if you have ACS installed.

Methods

-
-template::request create
-
+
template::request create

Initialize the data structure to store request parameters. Should be called at the start of any page that takes request parameters.

-
-template::request set_param name 
+
template::request set_param name 
                             -datatype datatype
                             -multiple
                             -optional
@@ -45,13 +46,11 @@
 $label may be used in the message to reference the
 parameter value and label (or name if no label is supplied).
 
-
-template::request get_param name
+
template::request get_param name
 

Returns the value (or values if the multiple is used) of the named parameter.

-
-template::request is_valid error_url
+
template::request is_valid error_url
 

Boolean procedure for determining whether any validation errors occurred while setting request parameters.