From 8a674fb83fa2dd80bc653745e03b24450a9cf68d Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 6 Mar 2007 20:40:51 +0000 Subject: changed the way to specify active record table. --- tests/simple_unit/ActiveRecord/records/DepartmentRecord.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/simple_unit/ActiveRecord/records/DepartmentRecord.php') 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__) { -- cgit v1.2.3