ILIAS  eassessment Revision 61809
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilQTISetvar Class Reference
+ Collaboration diagram for ilQTISetvar:

Public Member Functions

 ilQTISetvar ()
 setVarname ($a_varname)
 getVarname ()
 setAction ($a_action)
 getAction ()
 setContent ($a_content)
 getContent ()

Data Fields

 $varname
 $action
 $content

Detailed Description

Definition at line 38 of file class.ilQTISetvar.php.

Member Function Documentation

ilQTISetvar::getAction ( )

Definition at line 85 of file class.ilQTISetvar.php.

References $action.

{
return $this->action;
}
ilQTISetvar::getContent ( )

Definition at line 95 of file class.ilQTISetvar.php.

References $content.

{
}
ilQTISetvar::getVarname ( )

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

References $varname.

{
}
ilQTISetvar::ilQTISetvar ( )

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

{
}
ilQTISetvar::setAction (   $a_action)

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

References ACTION_ADD, ACTION_DIVIDE, ACTION_MULTIPLY, ACTION_SET, and ACTION_SUBTRACT.

{
switch (strtolower($a_action))
{
case "set":
case "1":
$this->action = ACTION_SET;
break;
case "add":
case "2":
$this->action = ACTION_ADD;
break;
case "subtract":
case "3":
$this->action = ACTION_SUBTRACT;
break;
case "multiply":
case "4":
$this->action = ACTION_MULTIPLY;
break;
case "divide":
case "5":
$this->action = ACTION_DIVIDE;
break;
}
}
ilQTISetvar::setContent (   $a_content)

Definition at line 90 of file class.ilQTISetvar.php.

{
$this->content = $a_content;
}
ilQTISetvar::setVarname (   $a_varname)

Definition at line 48 of file class.ilQTISetvar.php.

{
$this->varname = $a_varname;
}

Field Documentation

ilQTISetvar::$action

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

Referenced by getAction().

ilQTISetvar::$content

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

Referenced by getContent().

ilQTISetvar::$varname

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

Referenced by getVarname().


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