ILIAS  eassessment Revision 61809
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilSCORM2004Condition Class Reference

Class ilSCORM2004Condition. More...

+ Inheritance diagram for ilSCORM2004Condition:
+ Collaboration diagram for ilSCORM2004Condition:

Public Member Functions

 ilSCORM2004Condition ()
 Constructor public.
 getSeqNodeId ()
 getId ()
 getReferencedObjective ()
 getCondition ()
 getMeasureThreshold ()
 getOperator ()
 setSeqNodeId ($a_seqnodeid)
 setId ($a_id)
 setReferencedObjective ($a_objective)
 setCondition ($a_condition)
 setMeasureThreshold ($a_measure)
 setOperator ($a_operator)
 insert ($a_insert_node=false)
- Public Member Functions inherited from ilSCORM2004SeqNode
 ilSCORM2004SeqNode ()
 Constructor public.
 getNodeName ()
 getTreenodeId ()
 setNodeName ($a_nodeName)
 setTreenodeId ($a_treenodeId)
 insert ()
 update ($a_seq_node_id)

Private Attributes

 $id = null
 $seqNodeId = null
 $referencedObjective = null
 $condition = null
 $measureThreshold = 0.0
 $operator=null

Additional Inherited Members

- Protected Attributes inherited from ilSCORM2004SeqNode
 $db = null

Detailed Description

Class ilSCORM2004Condition.

Sequencing Template class for SCORM 2004 Editing

Author
Hendrik Holtmann holtm.nosp@m.ann@.nosp@m.me.co.nosp@m.m
Version
$Id$

Definition at line 35 of file class.ilSCORM2004Condition.php.

Member Function Documentation

ilSCORM2004Condition::getCondition ( )

Definition at line 78 of file class.ilSCORM2004Condition.php.

References $condition.

{
}
ilSCORM2004Condition::getId ( )

Definition at line 67 of file class.ilSCORM2004Condition.php.

References $id.

{
return $this->id;
}
ilSCORM2004Condition::getMeasureThreshold ( )

Definition at line 83 of file class.ilSCORM2004Condition.php.

References $measureThreshold.

ilSCORM2004Condition::getOperator ( )

Definition at line 88 of file class.ilSCORM2004Condition.php.

{
return $this->operator;
}
ilSCORM2004Condition::getReferencedObjective ( )

Definition at line 73 of file class.ilSCORM2004Condition.php.

References $referencedObjective.

ilSCORM2004Condition::getSeqNodeId ( )

Definition at line 62 of file class.ilSCORM2004Condition.php.

References $seqNodeId.

{
}
ilSCORM2004Condition::ilSCORM2004Condition ( )

Constructor public.

Definition at line 51 of file class.ilSCORM2004Condition.php.

References ilSCORM2004SeqNode\ilSCORM2004SeqNode(), and ilSCORM2004SeqNode\setNodeName().

{
$this->setNodeName("condition");
}

+ Here is the call graph for this function:

ilSCORM2004Condition::insert (   $a_insert_node = false)

Definition at line 131 of file class.ilSCORM2004Condition.php.

References setSeqNodeId().

{
if ($a_insert_node==true) {$this->setSeqNodeId(parent::insert());}
$sql = "INSERT INTO sahs_sc13_seq_cond (seqnodeid,referencedobjective,cond,measurethreshold,operator)".
" values(".
$this->db->quote($this->seqNodeId, "integer").",".
$this->db->quote($this->referencedObjective, "text").",".
$this->db->quote($this->condition, "text").",".
$this->db->quote($this->measureThreshold, "text").",".
$this->db->quote($this->operator, "text").");";
$result = $this->db->manipulate($sql);
return true;
}

+ Here is the call graph for this function:

ilSCORM2004Condition::setCondition (   $a_condition)

Definition at line 112 of file class.ilSCORM2004Condition.php.

{
$this->condition = $a_condition;
}
ilSCORM2004Condition::setId (   $a_id)

Definition at line 102 of file class.ilSCORM2004Condition.php.

{
$this->id = $a_id;
}
ilSCORM2004Condition::setMeasureThreshold (   $a_measure)

Definition at line 117 of file class.ilSCORM2004Condition.php.

{
$this->measureThreshold = $a_measure;
}
ilSCORM2004Condition::setOperator (   $a_operator)

Definition at line 122 of file class.ilSCORM2004Condition.php.

{
$this->operator = $a_operator;
}
ilSCORM2004Condition::setReferencedObjective (   $a_objective)

Definition at line 107 of file class.ilSCORM2004Condition.php.

{
$this->referencedObjective = $a_objective;
}
ilSCORM2004Condition::setSeqNodeId (   $a_seqnodeid)

Definition at line 97 of file class.ilSCORM2004Condition.php.

Referenced by insert().

{
$this->seqNodeId = $a_seqnodeid;
}

+ Here is the caller graph for this function:

Field Documentation

ilSCORM2004Condition::$condition = null
private

Definition at line 43 of file class.ilSCORM2004Condition.php.

Referenced by getCondition().

ilSCORM2004Condition::$id = null
private

Definition at line 40 of file class.ilSCORM2004Condition.php.

Referenced by getId().

ilSCORM2004Condition::$measureThreshold = 0.0
private

Definition at line 44 of file class.ilSCORM2004Condition.php.

Referenced by getMeasureThreshold().

ilSCORM2004Condition::$operator=null
private

Definition at line 45 of file class.ilSCORM2004Condition.php.

ilSCORM2004Condition::$referencedObjective = null
private

Definition at line 42 of file class.ilSCORM2004Condition.php.

Referenced by getReferencedObjective().

ilSCORM2004Condition::$seqNodeId = null
private

Definition at line 41 of file class.ilSCORM2004Condition.php.

Referenced by getSeqNodeId().


The documentation for this class was generated from the following file: