ILIAS  Release_4_1_x_branch Revision 61804
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilSCORM2004Rule Class Reference

Class ilSCORM2004Rule. More...

+ Inheritance diagram for ilSCORM2004Rule:
+ Collaboration diagram for ilSCORM2004Rule:

Public Member Functions

 ilSCORM2004Rule ()
 Constructor public.
 getSeqNodeId ()
 getId ()
 getType ()
 getAction ()
 setSeqNodeId ($a_seqnodeid)
 setId ($a_id)
 setType ($a_type)
 setAction ($a_action)
 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
 $type = null
 $action = true

Additional Inherited Members

- Protected Attributes inherited from ilSCORM2004SeqNode
 $db = null

Detailed Description

Class ilSCORM2004Rule.

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.ilSCORM2004Rule.php.

Member Function Documentation

ilSCORM2004Rule::getAction ( )

Definition at line 75 of file class.ilSCORM2004Rule.php.

References $action.

{
return $this->action;
}
ilSCORM2004Rule::getId ( )

Definition at line 65 of file class.ilSCORM2004Rule.php.

References $id.

{
return $this->id;
}
ilSCORM2004Rule::getSeqNodeId ( )

Definition at line 60 of file class.ilSCORM2004Rule.php.

References $seqNodeId.

{
}
ilSCORM2004Rule::getType ( )

Definition at line 70 of file class.ilSCORM2004Rule.php.

References $type.

{
return $this->type;
}
ilSCORM2004Rule::ilSCORM2004Rule ( )

Constructor public.

Definition at line 49 of file class.ilSCORM2004Rule.php.

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

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

+ Here is the call graph for this function:

ilSCORM2004Rule::insert (   $a_insert_node = false)

Definition at line 109 of file class.ilSCORM2004Rule.php.

References $result, and setSeqNodeId().

{
if ($a_insert_node==true) {$this->setSeqNodeId(parent::insert());}
$sql = "INSERT INTO sahs_sc13_seq_rule (seqnodeid,type,action)".
" values(".
$this->db->quote($this->seqNodeId, "integer").",".
$this->db->quote($this->type, "text").",".
$this->db->quote($this->action, "text").");";
$result = $this->db->manipulate($sql);
return true;
}

+ Here is the call graph for this function:

ilSCORM2004Rule::setAction (   $a_action)

Definition at line 99 of file class.ilSCORM2004Rule.php.

{
$this->action = $a_action;
}
ilSCORM2004Rule::setId (   $a_id)

Definition at line 89 of file class.ilSCORM2004Rule.php.

{
$this->id = $a_id;
}
ilSCORM2004Rule::setSeqNodeId (   $a_seqnodeid)

Definition at line 84 of file class.ilSCORM2004Rule.php.

Referenced by insert().

{
$this->seqNodeId = $a_seqnodeid;
}

+ Here is the caller graph for this function:

ilSCORM2004Rule::setType (   $a_type)

Definition at line 94 of file class.ilSCORM2004Rule.php.

{
$this->type = $a_type;
}

Field Documentation

ilSCORM2004Rule::$action = true
private

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

Referenced by getAction().

ilSCORM2004Rule::$id = null
private

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

Referenced by getId().

ilSCORM2004Rule::$seqNodeId = null
private

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

Referenced by getSeqNodeId().

ilSCORM2004Rule::$type = null
private

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

Referenced by getType().


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