Class AnswerSet

Description

AnswerSet is a collection of answers corresponding to a Session

Located in /models/AnswerSet.php (line 11)

ResearchToolObject
   |
   --AnswerSet
Variable Summary
 static mixed $filename
 mixed $answers
 mixed $datetime
 mixed $respondent
 mixed $survey
Method Summary
 static void create ( $obj)
 static void get (type $arguments)
 AnswerSet __construct ([type $uid = null], [type $survey = null], [type $respondent = null], [type $datetime = null], [type $answers = null])
 void evaluate ()
 void save ()
Variables
static mixed $filename = 'data/results/answersets.rdf' (line 12)
  • access: public
mixed $answers (line 17)
  • access: public
mixed $datetime (line 16)
  • access: public
mixed $respondent (line 15)
  • access: public
mixed $survey (line 14)
  • access: public

Inherited Variables

Inherited from ResearchToolObject

ResearchToolObject::$uid
Methods
static create (line 192)
  • access: public
void create ( $obj)
  • $obj
static get (line 139)

function get()

  • access: public
void get (type $arguments)
  • type $arguments: : An array having one ore more of the following elements: 'uid', 'survey', 'respondent', 'datetime', 'answers'.
Constructor __construct (line 27)

Constructor for an AnswerSet object

  • access: public
AnswerSet __construct ([type $uid = null], [type $survey = null], [type $respondent = null], [type $datetime = null], [type $answers = null])
  • type $uid
  • type $survey
  • type $respondent
  • type $datetime
  • type $answers
evaluate (line 44)

function evaluate() evaluates the references of survey, respondent and answers.

  • access: public
void evaluate ()

Redefinition of:
ResearchToolObject::evaluate()
save (line 83)

function save() Saves the current object into the database.

  • access: public
void save ()

Inherited Methods

Inherited From ResearchToolObject

 ResearchToolObject::createArguments()
 ResearchToolObject::evaluate()
 ResearchToolObject::getUid()
 ResearchToolObject::load()
 ResearchToolObject::stripUri()

Documentation generated on Thu, 01 Mar 2012 15:13:51 +0000 by phpDocumentor 1.4.3