From e9a132afc0fa4b02a7030c2c20ade65a1d693006 Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Tue, 25 Jul 2017 13:49:05 +0200 Subject: [PATCH] pv: notes about dynamic parameters for xavp to var funtions --- src/modules/pv/doc/pv_admin.xml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/modules/pv/doc/pv_admin.xml b/src/modules/pv/doc/pv_admin.xml index 31929efa7fa..bd5a7ab6f45 100644 --- a/src/modules/pv/doc/pv_admin.xml +++ b/src/modules/pv/doc/pv_admin.xml @@ -400,10 +400,16 @@ pv_xavp_print(); pv_var_to_xavp(varname, xname) - Copy script variables values to a xavp. + Copy the script variable value into an xavp. - First parameter can be '*' in order to copy all script variables. Second parameter is the name of the destination xavp. If xavp already exists it will be reset first. + First parameter can be '*' in order to copy all script variables. + Second parameter is the name of the destination xavp. + If xavp already exists it will be reset first. + + + Both parameters can contain variables that are evaluated at + runtime. Function can be used from ANY_ROUTE. @@ -431,7 +437,11 @@ $xavp("ok[0]=>foo") now is "foo indeed" pv_xavp_to_var(xname) - Copy xavp values to vars. Reverse of pv_var_to_xavp(). + Copy xavp values into vars. Reverse of pv_var_to_xavp(). + + + Both parameters can contain variables that are evaluated at + runtime. Function can be used from ANY_ROUTE.