summaryrefslogtreecommitdiff
path: root/tests/simple_unit/ActiveRecord
diff options
context:
space:
mode:
authorwei <>2007-01-03 11:31:18 +0000
committerwei <>2007-01-03 11:31:18 +0000
commit7ea61ba9701a04bc593d7c5960c5135ce39805a8 (patch)
tree55cc29fdd679440bfb7a86d12aecca684dc6dbb0 /tests/simple_unit/ActiveRecord
parent46484d91f49721a10b76e2c25071ad594f0b32d4 (diff)
quote the criteria string in ActiveRecord.
Diffstat (limited to 'tests/simple_unit/ActiveRecord')
-rw-r--r--tests/simple_unit/ActiveRecord/records/DepSections.php2
-rw-r--r--tests/simple_unit/ActiveRecord/records/DepartmentRecord.php2
-rw-r--r--tests/simple_unit/ActiveRecord/records/SimpleUser.php2
-rw-r--r--tests/simple_unit/ActiveRecord/records/SqliteUsers.php2
-rw-r--r--tests/simple_unit/ActiveRecord/records/UserRecord.php2
5 files changed, 5 insertions, 5 deletions
diff --git a/tests/simple_unit/ActiveRecord/records/DepSections.php b/tests/simple_unit/ActiveRecord/records/DepSections.php
index 9563dda6..476371bd 100644
--- a/tests/simple_unit/ActiveRecord/records/DepSections.php
+++ b/tests/simple_unit/ActiveRecord/records/DepSections.php
@@ -6,7 +6,7 @@ class DepSections extends TActiveRecord
public $section_id;
public $order;
- private static $_tablename='department_sections';
+ public static $_tablename='department_sections';
public static function finder()
{
diff --git a/tests/simple_unit/ActiveRecord/records/DepartmentRecord.php b/tests/simple_unit/ActiveRecord/records/DepartmentRecord.php
index 62e5c3e4..64ab39d0 100644
--- a/tests/simple_unit/ActiveRecord/records/DepartmentRecord.php
+++ b/tests/simple_unit/ActiveRecord/records/DepartmentRecord.php
@@ -8,7 +8,7 @@ class DepartmentRecord extends TActiveRecord
public $active;
public $order;
- private static $_tablename = 'departments';
+ public static $_tablename = 'departments';
public static function finder()
{
diff --git a/tests/simple_unit/ActiveRecord/records/SimpleUser.php b/tests/simple_unit/ActiveRecord/records/SimpleUser.php
index a6eb2f81..a256ffaf 100644
--- a/tests/simple_unit/ActiveRecord/records/SimpleUser.php
+++ b/tests/simple_unit/ActiveRecord/records/SimpleUser.php
@@ -4,7 +4,7 @@ class SimpleUser extends TActiveRecord
{
public $username;
- private static $_tablename='simple_users';
+ public static $_tablename='simple_users';
public static function finder()
{
diff --git a/tests/simple_unit/ActiveRecord/records/SqliteUsers.php b/tests/simple_unit/ActiveRecord/records/SqliteUsers.php
index 7a8f3cbb..6a6b9be9 100644
--- a/tests/simple_unit/ActiveRecord/records/SqliteUsers.php
+++ b/tests/simple_unit/ActiveRecord/records/SqliteUsers.php
@@ -6,7 +6,7 @@ class SqliteUsers extends TActiveRecord
public $password;
public $email;
- private static $_tablename='users';
+ public static $_tablename='users';
public static function finder()
{
diff --git a/tests/simple_unit/ActiveRecord/records/UserRecord.php b/tests/simple_unit/ActiveRecord/records/UserRecord.php
index 45b74d3a..02534d6f 100644
--- a/tests/simple_unit/ActiveRecord/records/UserRecord.php
+++ b/tests/simple_unit/ActiveRecord/records/UserRecord.php
@@ -18,7 +18,7 @@ class UserRecord extends TActiveRecord
private $_level=-1;
- protected static $_tablename='users';
+ public static $_tablename='users';
public function getLevel()
{