ILIAS  Release_4_4_x_branch Revision 61816
 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 15 of file class.ilSCORM2004Condition.php.

Member Function Documentation

ilSCORM2004Condition::getCondition ( )

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

References $condition.

{
}
ilSCORM2004Condition::getId ( )

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

References $id.

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

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

References $measureThreshold.

ilSCORM2004Condition::getOperator ( )

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

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

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

References $referencedObjective.

ilSCORM2004Condition::getSeqNodeId ( )

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

References $seqNodeId.

{
}
ilSCORM2004Condition::ilSCORM2004Condition ( )

Constructor public.

Definition at line 31 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 111 of file class.ilSCORM2004Condition.php.

References $result, and 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 92 of file class.ilSCORM2004Condition.php.

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

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

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

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

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

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

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

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

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

Definition at line 77 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 23 of file class.ilSCORM2004Condition.php.

Referenced by getCondition().

ilSCORM2004Condition::$id = null
private

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

Referenced by getId().

ilSCORM2004Condition::$measureThreshold = 0.0
private

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

Referenced by getMeasureThreshold().

ilSCORM2004Condition::$operator=null
private

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

ilSCORM2004Condition::$referencedObjective = null
private

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

Referenced by getReferencedObjective().

ilSCORM2004Condition::$seqNodeId = null
private

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

Referenced by getSeqNodeId().


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