Last change
on this file since 195 was
187,
checked in by jkraaijeveld, 13 years ago
|
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 size:
250 bytes
|
Rev | Line | |
---|
[131] | 1 | <?php |
---|
| 2 | /** |
---|
| 3 | * Description of ResearchToolObject |
---|
| 4 | * |
---|
| 5 | * @author jkraaijeveld |
---|
| 6 | */ |
---|
[158] | 7 | abstract class ResearchToolObject { |
---|
[186] | 8 | public $uid; |
---|
| 9 | //Uncomment when done with creating all evaluation methods \o///// |
---|
[187] | 10 | public function evaluate() |
---|
| 11 | { |
---|
| 12 | return true; |
---|
| 13 | } |
---|
[131] | 14 | } |
---|
| 15 | |
---|
| 16 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.