25 function viewimgcard($target =
"_self", $ulink =
true, $abstract =
false)
29 $this->
viewattr($target, $ulink, $abstract);
30 $this->
viewprop($target, $ulink, $abstract);
32 $listattr = $this->GetNormalAttributes();
34 $tableimage = array();
37 foreach ($listattr as $i => $attr) {
42 if ((
$value !=
"") && ($attr->visibility !=
"H")) {
44 switch ($attr->type) {
48 $tableimage[$nbimg][
"imgsrc"] = $this->GetHtmlValue($attr,
$value, $target, $ulink);
51 $tableimage[$nbimg][
"type"] = $reg[1];
53 else $fname = _(
"no filename");
54 $tableimage[$nbimg][
"name"] = $fname;
61 $this->lay->SetBlockData(
"TABLEIMG", $tableimage);
66 return $this->SetValue(
"IMG_TITLE", $this->
vault_filename(
"IMG_FILE"));
newFreeVaultFile($dbaccess)
vault_filename($attrid, $path=false, $index=-1)
viewattr($target="_self", $ulink=true, $abstract=false, $viewhidden=false)
viewimgcard($target="_self", $ulink=true, $abstract=false)
viewprop($target="_self", $ulink=true, $abstract=false)
getRawValue($idAttr, $def="")