17 include_once (
"FDL/Class.Doc.php");
18 include_once (
"FDL/Class.DocAttr.php");
20 include_once (
"FDL/freedom_util.php");
21 include_once (
"FDL/editutil.php");
28 $docid = GetHttpVars(
"id", 0);
29 $classid = GetHttpVars(
"classid");
30 $arrayid = strtolower(GetHttpVars(
"arrayid"));
31 $vid = GetHttpVars(
"vid");
32 $ulink = (GetHttpVars(
"ulink",
'2'));
33 $target = GetHttpVars(
"target");
41 if (($vid !=
"") && (
$doc->cvid > 0)) {
48 $tview = $cvdoc->getView($vid);
49 if ($tview)
$doc->setMask($tview[
"CV_MSKID"]);
53 $xmlarray =
$doc->GetHtmlValue(
$doc->getAttribute($arrayid) ,
$doc->getRawValue($arrayid) , $target, $ulink);
55 $action->lay->set(
"array", $xmlarray);
createDoc($dbaccess, $fromid, $control=true, $defaultvalues=true, $temporary=false)
viewarray(Action &$action)
new_Doc($dbaccess, $id= '', $latest=false)