mpfserver Manual
 
 
 mpf:[my-var] | retrieve variable values
variable tokens

display values of variables

display meta information about variables

{mpf:  }
[my-var]
name of variable to be retrieved
||count
use this parameter to count number of items in list (a list/array will not be initialized)
|| convert=[lowercase|uppercase|upperfirst]
convert variable value
|| encode=[url|html|html-chars|crypt]
encode variable value to another format
|| trim=[left|right|both]
remove whitespaces from variable value
|| [opr][condition]
condition may be used to check variable value

{mpf:  } ... {/mpf:  }
[my-var]
name of variable to be retrieved
||count
use this parameter to count number of items in list (a list/array will not be initialized)
|| convert=[lowercase|uppercase|upperfirst]
convert variable value
|| encode=[url|html|html-chars|crypt]
encode variable value to another format
|| trim=[left|right|both]
remove whitespaces from variable value
|| convert_section=[lowercase|uppercase|upperfirst]
convert section data (for use with closing token only)
|| parse_section=[yes|no]
parse section data for mpf-tokens (for use with closing token only)
|| encode_section=[url|html|html-chars|crypt]
encode section data to another format (for use with closing token only)
|| trim_section=[left|right|both]
remove whitespaces from section data (for use with closing token only)
|| [opr][condition]
condition may be used to check variable value
variable meta information (use with closing token)
If you want an array-variable (list of variables) to be displayed then you must use variable-token with closing tag. In addition you will need to know for each variable if it contains another array that must be formatted: the following temporary variables will help you doing so.
{mpf:var/key} key name of current item in array 
{mpf:var/val} variable value of current item in array 
{mpf:var/type} variable type [array|string] 
{mpf:var/no} position of current item in array 
{mpf:var/depth} level of current item in array (top level is 0) 
{mpf:var/max} number of items in array 
 
 
2004 by master-p-formance.All rights reserved.
 
This manual is generated on the fly using mpfserver and MPFT (mpf transformation).