19 require_once(BASE.
"wcmf/lib/persistence/class.PersistenceFacade.php");
39 return "javascript:doDisplay('".$oid.
"'); submitAction('')";
50 $str =
"javascript:doDisplay('".$oid.
"'); setVariable('anchor', '".$anchorOID;
51 if ($anchorName != null)
52 $str .=
"#".$anchorName;
53 $str .=
"'); submitAction('')";
63 return strpos($link,
"javascript:doDisplay") === 0;
72 preg_match_all(
"/.*?[\']([A-Za-z0-9]+:[0-9]+)[\'].*?/", $link, $matches);
73 if (
sizeof($matches) > 0)
75 $oid = $matches[1][0];
88 preg_match_all(
"/.*?[\']([A-Za-z0-9]+:[0-9]+)[\'].*?/", $link, $matches);
89 if (
sizeof($matches) > 0 &&
sizeof($matches[1]) > 0)
91 $oid = $matches[1][1];
104 preg_match_all(
"/.*?[\'][A-Za-z0-9]+:[0-9]+#(.+?)[\'].*?/", $link, $matches);
105 if (
sizeof($matches) > 0 &&
sizeof($matches[1]) > 0)
107 $name = $matches[1][1];
makeAnchorLink($oid, $anchorOID, $anchorName=null)
InternalLink contains static methods for handling internal application links. These links are useful ...