Index: openacs-4/packages/acs-templating/www/doc/TclDocs/util.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/TclDocs/util.adp,v diff -u -r1.2 -r1.3 --- openacs-4/packages/acs-templating/www/doc/TclDocs/util.adp 27 Oct 2014 16:40:18 -0000 1.2 +++ openacs-4/packages/acs-templating/www/doc/TclDocs/util.adp 7 Aug 2017 23:48:02 -0000 1.3 @@ -1,58 +1,67 @@ -{/doc/acs-templating {Templating}} {} +{/doc/acs-templating {ACS Templating}} {} +

Namespace util

+

Method Summary

- -

Namespace util

Method Summary

-Listing of public methods:
The namespace util currently contains no public -methods.

Method Detail

-* indicates required

-Private Methods:
-

+Listing of public methods:
+
The namespace util currently contains no public +methods.
+

Method Detail

+

+* indicates required

+

+Private Methods:
+

+
-
a proc used for debugging, just prints out a value to the error log
+
+ -
capitalizes the first letter of a string
-
Returns:
returns formatted string
+
Returns:
returns formatted string
+
+ -
escapes quotes and removes comment tags from a body of commented text
-Parameters: +Parameters:
text*
-
Returns:
text
+
Returns:
text
+
+ -
just takes a body of text and puts a space behind every double {quote;} this is done so that the text body can be treated as a list without causing problems resulting from list elements being separated by characters other than a space
-Parameters: +Parameters:
text* req/none the body of text to be worked on
-
Returns:
same text but with a space behind each quote; double quotes +
Returns:
same text but with a space behind each quote; double quotes that are already trailed by a space are unaffected
+
+ -
takes a .adp template name and the name of the file to be written and creates the {file;} also puts out a notice before
-Parameters: +Parameters:
template* @@ -66,35 +75,39 @@
+
+ -
takes an alphabetized list and an entry
-Parameters: +Parameters:
+
list* -{let's see how this parses out} the alphabetized -list{let's see how this parses out} the +alphabetized list
entry* req the value to be inserted
-
Returns:
either the proper list index for an alphabetized insertion or +
Returns:
either the proper list index for an alphabetized insertion or -1 if the entry is already in the list
+
+ -
used to compare two different elements in a list of parsed data for public or private procs
+
+ -
uses ns_library to find the server root, may not always -be accurate because it essentially asks for the tcl library path +be accurate because it essentially asks for the Tcl library path and strips off the last /tcl directory
+
+ -

+ +

* indicates required

-