Class ApplicationInstance

Description

Description of ApplicationInstance

  • author: jkraaijeveld

Located in /models/ApplicationInstance.php (line 12)

ResearchToolObject
   |
   --ApplicationInstance
Variable Summary
 static mixed $filename
 mixed $application
 mixed $endtime
 mixed $open
 mixed $starttime
Method Summary
 static void create ( $obj)
 static void get (type $arguments)
 ApplicationInstance __construct ([ $uid = null], [ $application = null], [ $starttime = null], [ $endtime = null], [ $open = 0], [ $playerresults = null], [ $groupresults = null], [ $periodicresults = null], type $uid:, type $application:, type $starttime:, type $endtime:, type $open:, type $playerresults:, type $groupresults:, type $periodicresults:)
 void evaluate ()
 void save ()
Variables
static mixed $filename = 'data/applications/applicationinstances.rdf' (line 13)
  • access: public
mixed $application (line 15)
  • access: public
mixed $endtime (line 17)
  • access: public
mixed $groupresults (line 20)
  • access: public
mixed $open (line 18)
  • access: public
mixed $periodicresults (line 21)
  • access: public
mixed $playerresults (line 19)
  • access: public
mixed $starttime (line 16)
  • access: public

Inherited Variables

Inherited from ResearchToolObject

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

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

  • access: public
void get (type $arguments)
  • type $arguments: : An array containing zero or more of the following keys: 'uid', 'of_application', 'starttime', 'endtime', 'open' TODO: Support game results.
Constructor __construct (line 34)

Constructor for an ApplicationInstance object.

  • access: public
ApplicationInstance __construct ([ $uid = null], [ $application = null], [ $starttime = null], [ $endtime = null], [ $open = 0], [ $playerresults = null], [ $groupresults = null], [ $periodicresults = null], type $uid:, type $application:, type $starttime:, type $endtime:, type $open:, type $playerresults:, type $groupresults:, type $periodicresults:)
  • type $uid:: The UID of the application instance object.
  • type $application:: The related application.
  • type $starttime:: The starttime of the application round.
  • type $endtime:: The endtime of the application round.
  • type $open:: A boolean to specify if people can start this application.
  • type $playerresults:: Individual player results from playing.
  • type $groupresults:: Group-based results from playing.
  • type $periodicresults:: Periodical results from playing.
  • $uid
  • $application
  • $starttime
  • $endtime
  • $open
  • $playerresults
  • $groupresults
  • $periodicresults
evaluate (line 54)

function evaluate()

Evaluates the references in this object

  • access: public
void evaluate ()

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

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