Inheritance diagram for ilPCQuestion:
Collaboration diagram for ilPCQuestion:Public Member Functions | |
| ilPCQuestion (&$a_dom) | |
| Constructor public. | |
| setNode (&$a_node) | |
| create (&$a_pg_obj, $a_hier_id) | |
| getType () | |
Data Fields | |
| $dom | |
| $q_node | |
Definition at line 36 of file class.ilPCQuestion.php.
| ilPCQuestion::create | ( | &$ | a_pg_obj, | |
| $ | a_hier_id | |||
| ) |
Definition at line 60 of file class.ilPCQuestion.php.
References exit.
{
echo "ERROR: PCQuestion create"; exit;
}
| ilPCQuestion::getType | ( | ) |
Reimplemented from ilPageContent.
Definition at line 65 of file class.ilPCQuestion.php.
{
return "pcqst";
}
| ilPCQuestion::ilPCQuestion | ( | &$ | a_dom | ) |
Constructor public.
Definition at line 45 of file class.ilPCQuestion.php.
References ilPageContent::ilPageContent(), and ilPageContent::setType().
{
parent::ilPageContent();
$this->setType("par");
$this->dom =& $a_dom;
}
Here is the call graph for this function:| ilPCQuestion::setNode | ( | &$ | a_node | ) |
Reimplemented from ilPageContent.
Definition at line 53 of file class.ilPCQuestion.php.
{
parent::setNode($a_node); // this is the PageContent node
$this->q_node =& $a_node->first_child(); //... and this the Paragraph node
}
| ilPCQuestion::$dom |
Definition at line 38 of file class.ilPCQuestion.php.
| ilPCQuestion::$q_node |
Definition at line 39 of file class.ilPCQuestion.php.
1.7.1