5 require_once(
"./Services/COPage/classes/class.ilPageContent.php");
35 $this->vrfc_node =& $a_node->first_child();
44 function create(&$a_pg_obj, $a_hier_id, $a_pc_id =
"")
48 $this->vrfc_node = $this->dom->create_element(
"Verification");
49 $this->vrfc_node = $this->node->append_child($this->vrfc_node);
62 $this->vrfc_node->set_attribute(
"Type", $a_type);
63 $this->vrfc_node->set_attribute(
"Id", $a_id);
64 $this->vrfc_node->set_attribute(
"User", $ilUser->getId());
74 if (is_object($this->vrfc_node))
76 return array(
"id"=>$this->vrfc_node->get_attribute(
"Id"),
77 "type"=>$this->vrfc_node->get_attribute(
"Type"),
78 "user"=>$this->vrfc_node->get_attribute(
"User"));
88 return array(
"pc_vrfc",
89 "ed_insert_verification");
101 $xpath_temp =
new DOMXPath(
$dom);
102 $nodes = $xpath_temp->query(
"//PageContent/Verification");
103 foreach($nodes as
$node)
105 if($node->getAttribute(
"Type") == $a_type &&
106 $node->getAttribute(
"Id") == $a_id)