5 require_once(
"./Services/COPage/classes/class.ilPageContent.php");
33 parent::setNode($a_node);
34 $this->qover_node = $a_node->first_child();
43 public function create(&$a_pg_obj, $a_hier_id, $a_pc_id =
"")
47 $this->qover_node = $this->dom->create_element(
"QuestionOverview");
48 $this->qover_node = $this->node->append_child($this->qover_node);
49 $this->qover_node->set_attribute(
"ShortMessage",
"y");
60 $this->qover_node->set_attribute(
"ShortMessage",
"y");
62 if ($this->qover_node->has_attribute(
"ShortMessage")) {
63 $this->qover_node->remove_attribute(
"ShortMessage");
75 if (is_object($this->qover_node)) {
76 if ($this->qover_node->get_attribute(
"ShortMessage") ==
"y") {
91 $this->qover_node->set_attribute(
"ListWrongQuestions",
"y");
93 if ($this->qover_node->has_attribute(
"ListWrongQuestions")) {
94 $this->qover_node->remove_attribute(
"ListWrongQuestions");
106 if (is_object($this->qover_node)) {
107 if ($this->qover_node->get_attribute(
"ListWrongQuestions") ==
"y") {
getShortMessage()
Get short message.
Question overview page content element.
setListWrongQuestions($a_val)
Set list wrong questions.
setShortMessage($a_val)
Set short message.
create(&$a_pg_obj, $a_hier_id, $a_pc_id="")
Create question overview node in xml.
setType($a_type)
Set Type.
setNode($a_node)
Set node.
getListWrongQuestions()
Get list wrong questions.
init()
Init page content component.
createPageContentNode($a_set_this_node=true)
Create page content node (always use this method first when adding a new element) ...