diff --git a/src/modules/pv/doc/pv_admin.xml b/src/modules/pv/doc/pv_admin.xml index 61209f18987..f5faa0ab111 100644 --- a/src/modules/pv/doc/pv_admin.xml +++ b/src/modules/pv/doc/pv_admin.xml @@ -292,6 +292,37 @@ xavp_params_explode("a=b;c=d;e=d", "x"); # $xavp(x=>a) = "b"; # $xavp(x=>c) = "d"; # $xavp(x=>e) = "f"; +... + + + +
+ + <function moreinfo="none">xavp_params_implode(xname, pvname)</function> + + + Serialize the subfields in an XAVP to a parameters string format. + + + The first parameter has to be the name of XAVP (only the string + name, not the in $xavp(name)). The second parameter + is the name of output variable (in full name, like $var(output)). + + + The value is stored as string type. + + + Function can be used from ANY ROUTE. + + + <function>xavp_params_implode</function> usage + +... +$xavp(x=>e) = "f"; +$xavp(x[0]=>c) = "d"; +$xavp(x[0]=>a) = "b"; +xavp_params_implode("x", "$var(out)"); +# results in: $var(out) is "a=b;c=d;e=f;" ...