source: Dev/trunk/classes/ResearchToolObject.php @ 186

Last change on this file since 186 was 186, checked in by jkraaijeveld, 13 years ago

Implemented lazy evaluation.

  • Initially, references to other database objects are now given as an ID rather than an object.
  • Every model class now has an evaluate() function, which gets all the objects that object has references to. Returns true if it got all the values correctly, false if there are invalid references.
  • Every connector now first evaluates an object before storing, to make sure only objects with valid references get stored.
File size: 241 bytes
RevLine 
[131]1<?php
2/**
3 * Description of ResearchToolObject
4 *
5 * @author jkraaijeveld
6 */
[158]7abstract class ResearchToolObject {
[186]8        public $uid;
9//Uncomment when done with creating all evaluation methods \o/////
10//      public abstract function evaluate();
[131]11}
12
13?>
Note: See TracBrowser for help on using the repository browser.