/common/pcf_templates.phpinctemplate parse functions
PCF_TMPLVAR_ARR = "*"
(line 19)
PCF_TMPLVAR_ASIS = "\\"
(line 43)
PCF_TMPLVAR_BASE64 = "ß"
(line 48)
PCF_TMPLVAR_DBLOOKUP = "%"
(line 38)
PCF_TMPLVAR_GET = "^"
(line 18)
PCF_TMPLVAR_GLOBALS = "@"
(line 28)
Global Array $GLOBALS values
PCF_TMPLVAR_IF = "?"
(line 33)
PCF_TMPLVAR_INCLUDE = "<"
(line 59)
PCF_TMPLVAR_POST = "§"
(line 21)
PCF_TMPLVAR_SERVER = "°"
(line 22)
PCF_TMPLVAR_SESSION = "~"
(line 20)
PCF_TMPL_MAXVARLENGTH = 128
(line 54)
returns an array with fields and types
array[SIMPLE|COMPLEX][TYPE][name]
each array element has a NAME, a TYPE and a replace string note COMPLEX elements are not splitted up
returns an array with variable names
splits the template into the replace string of a complex var and the rest of the template
example "LINKTYPE....?$ asdfsadf " will return "$?LINKTYPE....?$" and set $aTemplate to " asdfsadf "
reads $aFile in $GLOBALS['PROJECT']['TEMPLATEPATH'] parses the template with $aArr and returns it as string
returns an array with fields found in the template
each array element has a NAME and a TYPE index
converts german specialchars into theire html representation (ß ....)
parses a template and replaces the values found
parses am admin templdate (under $GLOBALS['OCSP']['ADMINPATH'] ../admin-tmpl)
reads $aFile in $GLOBALS['PROJECT']['TEMPLATEPATH'] parses the template with $aArr and returns it returns if the template file was found
replaces specialvields ($#....$)
replaces all simple datafields ($*FIELD$) with the value of $arr
NOTE: fields which are not set are not removed
echos pcf_tmpl_parseFile
Documentation generated on Thu, 08 Jan 2009 17:47:47 +0100 by phpDocumentor 1.4.0a2