Public Member Functions | Data Fields

ASS_AnswerMultipleResponseImage Class Reference

ASS_AnswerBinaryStateImage is a class for answers with a binary state indicator (checked/unchecked, set/unset) and an image file. More...

Inheritance diagram for ASS_AnswerMultipleResponseImage:
Collaboration diagram for ASS_AnswerMultipleResponseImage:

Public Member Functions

 ASS_AnswerMultipleResponseImage ($answertext="", $points_checked=0.0, $order=0, $points_unchecked=0, $a_image="", $id=-1)
 ASS_AnswerMultipleResponse constructor.
 getImage ()
 Gets the image filename.
 setImage ($a_image=0)
 Sets the image filename.

Data Fields

 $image

Detailed Description

ASS_AnswerBinaryStateImage is a class for answers with a binary state indicator (checked/unchecked, set/unset) and an image file.

ASS_AnswerBinaryStateImage is a class for answers with a binary state indicator (checked/unchecked, set/unset) and an image file

Author:
Helmut Schottmüller <helmut.schottmueller@mac.com>
Version:
Id:
class.assAnswerMultipleResponseImage.php 10735 2006-05-04 22:27:42Z hschottm

class.assAnswerBinaryState.php Assessment

See also:
ASS_AnswerSimple

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


Member Function Documentation

ASS_AnswerMultipleResponseImage::ASS_AnswerMultipleResponseImage ( answertext = "",
points_checked = 0.0,
order = 0,
points_unchecked = 0,
a_image = "",
id = -1 
)

ASS_AnswerMultipleResponse constructor.

The constructor takes possible arguments an creates an instance of the ASS_AnswerMultipleResponse object.

Parameters:
string $answertext A string defining the answer text
double $points The number of points given for the selected answer
integer $order A nonnegative value representing a possible display or sort order
double $points_unchecked The points when the answer is not checked
string $a_image The image filename public

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

References ASS_AnswerSimple::$answertext, ASS_AnswerSimple::$id, ASS_AnswerSimple::$order, ASS_AnswerMultipleResponse::$points_unchecked, and ASS_AnswerMultipleResponse::ASS_AnswerMultipleResponse().

  {
    $this->ASS_AnswerMultipleResponse($answertext, $points_checked, $order, $points_unchecked, $id);
    $this->image = $a_image;
  }

Here is the call graph for this function:

ASS_AnswerMultipleResponseImage::getImage (  ) 

Gets the image filename.

Returns the image filename

Returns:
string The image filename public
See also:
$image

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

        {
    return $this->image;
  }

ASS_AnswerMultipleResponseImage::setImage ( a_image = 0  ) 

Sets the image filename.

Sets the image filename

Parameters:
string $a_image The image filename public
See also:
$image

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

  {
    $this->image = $a_image;
  }


Field Documentation

ASS_AnswerMultipleResponseImage::$image

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


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