37 include_once (
'Class.Log.php');
38 include_once (
'Class.DbObj.php');
69 create table paramdef (
77 create unique index paramdef_idxna on paramdef(name, appid);
89 simpleQuery(
'', sprintf(
"select * from paramdef where name='%s'", pg_escape_string(
$name)) , $paramDefValues,
false,
true);
92 SELECT * from paramdef
94 and (isglob=
'Y' or appid=%d or appid=1 or appid=(select
id from application where name=(select childof from application where
id=%d)));
97 simpleQuery(
'', $sqlp, $paramDefValues,
false,
true);
99 if (!empty($paramDefValues)) {
101 $d->Affect($paramDefValues);
print $fam getTitle() $fam name
static getParamDef($name, $appid=null)
simpleQuery($dbaccess, $query, &$result=array(), $singlecolumn=false, $singleresult=false, $useStrict=null)