Class Survey

Description

Description of Survey

  • author: jkraaijeveld

Located in /models/Survey.php (line 8)

ResearchToolObject
   |
   --Survey
Variable Summary
 mixed $creator
 mixed $description
 mixed $questions
 mixed $title
Method Summary
 static void create ( $obj)
 static void get (type $arguments)
 Survey __construct ([ $uid = null], [ $title = null], [ $description = null], [ $creator = null], [ $questions = null])
 void evaluate ()
 void save ()
Variables
mixed $creator (line 13)
  • access: public
mixed $description (line 12)
  • access: public
mixed $questions (line 14)
  • access: public
mixed $title (line 11)
  • access: public

Inherited Variables

Inherited from ResearchToolObject

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

function get($arguments) Gets the array of Survey objects belonging to arguments supplied.

  • access: public
void get (type $arguments)
  • type $arguments: : An array containing zero or more of the following keys: 'uid', 'title', 'description', 'questions' Note: questions has to be an array of question IDs (codes) for this filter to work.
Constructor __construct (line 16)
  • access: public
Survey __construct ([ $uid = null], [ $title = null], [ $description = null], [ $creator = null], [ $questions = null])
  • $uid
  • $title
  • $description
  • $creator
  • $questions
evaluate (line 32)

function evaluate()

Evaluates the references

  • access: public
void evaluate ()

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

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:52 +0000 by phpDocumentor 1.4.3