Params.pm
NAME
Communiware::Postprocess::Params - procedural for working with pseudo attribures stored in context attributes or real item attributes.
SYNOPSIS
<:Do immediate Params::split PARAMS:> <:Do prepost Params::join PARAMS P1 P2 P3:> <:Input text PARAMS_P1:>-<:Input text PARAMS_P2:>-<:Input text PARAMS_P3:>
DESCRIPTION
Params::split
This procedural splits value of given attribute (typically PARAMS) is to separate attributes and puts they into current context.
<:Do TIME Params::split [ATTRNAME]:>
where
- TIME
- It's time specification. Usually immediate. For more information see DE::Do documentation.
- ATTRNAME
- Name of attribute which value must be splitted. Default value PARAMS.
Params::join
This procedural joins many given context attributes into given attribute.
<:Do TIME Params::join ATTRNAME PARAM1 PARAM2 ... PARAMn:>
where
- TIME
- It's time specification. Usually prepost. For more information see DE::Do documentation.
- ATTRNAME
- Name of attribute for storing joined value.
- PARAM1 ... PARAMn
- List of names of context attributes to join. Names mustn't contais base name of attributes. E.g.: P1 instead PARAMS_P1.
16 октябрь 2007 13:45