Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
setApplicationParameter.php File Reference

Go to the source code of this file.

Variables

 $usage = new ApiUsage()
 
 $parname = $usage->addRequiredParameter("param", "parameter name")
 
 $parval = $usage->addOptionalParameter("value", "parameter value to set")
 
 $paruser = GetHttpVars("userid")
 
 $parapp = $usage->addOptionalParameter("appname", "Parameter's application's name")
 
 $appid = 0
 
if($parapp!="") $dbaccess = getDbAccess()
 
 $param = new QueryDb($dbaccess, "Param")
 
 $list = $param->Query(0, 2)
 
if($param->nb==0) elseif($param->
nb > 1) 
else
 
$p val = $parval
 
 $err = $p->modify()
 

Variable Documentation

$appid = 0

Definition at line 24 of file setApplicationParameter.php.

if ($parapp!="") $dbaccess = getDbAccess()

Definition at line 31 of file setApplicationParameter.php.

$err = $p->modify()

Definition at line 46 of file setApplicationParameter.php.

$list = $param->Query(0, 2)

Definition at line 35 of file setApplicationParameter.php.

$param = new QueryDb($dbaccess, "Param")

Definition at line 32 of file setApplicationParameter.php.

$parapp = $usage->addOptionalParameter("appname", "Parameter's application's name")

Definition at line 21 of file setApplicationParameter.php.

$parname = $usage->addRequiredParameter("param", "parameter name")

Definition at line 18 of file setApplicationParameter.php.

$paruser = GetHttpVars("userid")

Definition at line 20 of file setApplicationParameter.php.

$parval = $usage->addOptionalParameter("value", "parameter value to set")

Definition at line 19 of file setApplicationParameter.php.

$usage = new ApiUsage()

set applicative parameter value

analyze sub-directories presents in STYLE directory WSH

Definition at line 15 of file setApplicationParameter.php.

if ($param->nb==0) elseif ($param->nb > 1) else
Initial value:
{
$p = $list[0]

Definition at line 42 of file setApplicationParameter.php.

$p val = $parval

Definition at line 45 of file setApplicationParameter.php.

← centre documentaire © anakeen