diff options
author | xue <> | 2007-03-06 20:40:51 +0000 |
---|---|---|
committer | xue <> | 2007-03-06 20:40:51 +0000 |
commit | 8a674fb83fa2dd80bc653745e03b24450a9cf68d (patch) | |
tree | 83f72026185075b0ffacf5c1996d3424b0e2f31f /tests/simple_unit/ActiveRecord/records/SimpleUser.php | |
parent | 2ab695a553abf26e530f5e97c1ea357233d80998 (diff) |
changed the way to specify active record table.
Diffstat (limited to 'tests/simple_unit/ActiveRecord/records/SimpleUser.php')
-rw-r--r-- | tests/simple_unit/ActiveRecord/records/SimpleUser.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/simple_unit/ActiveRecord/records/SimpleUser.php b/tests/simple_unit/ActiveRecord/records/SimpleUser.php index 3112e203..4ff0b982 100644 --- a/tests/simple_unit/ActiveRecord/records/SimpleUser.php +++ b/tests/simple_unit/ActiveRecord/records/SimpleUser.php @@ -3,7 +3,7 @@ class SimpleUser extends TActiveRecord {
public $username;
- public static $_tablename='simple_users';
+ const TABLE='simple_users';
public static function finder($className=__CLASS__)
{
|