summaryrefslogtreecommitdiff
path: root/tests/unit/SQLMap/ConfigureTest.php
diff options
context:
space:
mode:
authorgodzilla80@gmx.net <>2009-05-10 10:51:52 +0000
committergodzilla80@gmx.net <>2009-05-10 10:51:52 +0000
commit5d276345aa8fc6eefed3793d59cc73ae0d0247b5 (patch)
tree68dd1b84da8a54cf2a99b65748f6a6dd2e45b7ea /tests/unit/SQLMap/ConfigureTest.php
parentd0d261bec97595492a4d1da44121c6fb919ea2ed (diff)
Fixed Issue #74
Introduce a new property 'InvalidFinderResult' (related new enum TActiveRecordInvalidFinderResult) to TActiveRecordConfig, TActiveRecordManager, TActiveRecord that allows to control how TActiveRecord react if an invalid magic-finder invoked. Possible values are: Exception - throw TActiveRecordException like before rev1545 Null - return null (default for backward compatibility reasons) To change behavior: <module class="System.Data.ActiveRecord.TActiveRecordConfig" InvalidFinderResult="Exception"/> or MyActiveRecord->setInvalidFinderResult(TActiveRecordInvalidFinderResult::Exception); or override MyActiveRecord->getInvalidFinderResult() to always return TActiveRecordInvalidFinderResult::Exception
Diffstat (limited to 'tests/unit/SQLMap/ConfigureTest.php')
0 files changed, 0 insertions, 0 deletions