Class SurveyConnector

Description

Implements interfaces:

Description of SurveyConnector

  • author: jkraaijeveld

Located in /SurveyConnector.php (line 8)


	
			
Variable Summary
mixed $db
mixed $fileName
mixed $model
Method Summary
SurveyConnector __construct ()
void get (type $arguments)
void load ()
void save ()
void set (type $rToolObject)
Variables
mixed $db (line 11)
  • access: protected
mixed $fileName = 'data/surveys/surveys.rdf' (line 10)
  • access: protected
mixed $model (line 9)
  • access: protected
Methods
Constructor __construct (line 16)

Constructor for ApplicationConnector.

  • access: public
SurveyConnector __construct ()
get (line 51)

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.

Implementation of:
IConnector::get()
load (line 27)

function load() Loads the file into the standard MemModel.

  • access: public
void load ()

Implementation of:
IConnector::load()
save (line 40)

function save() Saves the MemModel into the given file.

  • access: public
void save ()

Implementation of:
IConnector::save()
set (line 144)

Saves the given Survey object.

  • access: public
void set (type $rToolObject)
  • type $rToolObject: : The ResearchToolObject to be saved.

Implementation of:
IConnector::set()

Documentation generated on Fri, 18 Nov 2011 12:57:06 +0000 by phpDocumentor 1.4.3