Ignore:
Timestamp:
12/16/11 11:26:53 (13 years ago)
Author:
jkraaijeveld
Message:

Cleaned up some mess regarding lazy evaluation: classes without references no longer require a method evaluate(). Rather, ResearchToolObject? has a plain evaluate returning true in this case. Classes with references should override this method.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/classes/Question.php

    r186 r187  
    4141        }
    4242
    43         /**
    44          * function evaluate()
    45          * evaluates all the references of this object.
    46          */
    47         public function evaluate()
    48         {
    49                 //Do nothing since Question does not contain any references
    50         }
    5143}
    5244
Note: See TracChangeset for help on using the changeset viewer.