summaryrefslogtreecommitdiff
path: root/tests/simple_unit/ActiveRecord/records/DepartmentRecord.php
diff options
context:
space:
mode:
authorxue <>2007-03-06 20:40:51 +0000
committerxue <>2007-03-06 20:40:51 +0000
commit8a674fb83fa2dd80bc653745e03b24450a9cf68d (patch)
tree83f72026185075b0ffacf5c1996d3424b0e2f31f /tests/simple_unit/ActiveRecord/records/DepartmentRecord.php
parent2ab695a553abf26e530f5e97c1ea357233d80998 (diff)
changed the way to specify active record table.
Diffstat (limited to 'tests/simple_unit/ActiveRecord/records/DepartmentRecord.php')
-rw-r--r--tests/simple_unit/ActiveRecord/records/DepartmentRecord.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/simple_unit/ActiveRecord/records/DepartmentRecord.php b/tests/simple_unit/ActiveRecord/records/DepartmentRecord.php
index be0f5fd1..61307826 100644
--- a/tests/simple_unit/ActiveRecord/records/DepartmentRecord.php
+++ b/tests/simple_unit/ActiveRecord/records/DepartmentRecord.php
@@ -7,7 +7,7 @@ class DepartmentRecord extends TActiveRecord
public $active;
public $order;
- public static $_tablename = 'departments';
+ const TABLE = 'departments';
public static function finder($className=__CLASS__)
{