summaryrefslogtreecommitdiff
path: root/demos/northwind-db/protected/database/Employee.php
diff options
context:
space:
mode:
authorxue <>2007-09-29 22:07:12 +0000
committerxue <>2007-09-29 22:07:12 +0000
commit54e9feab491bcf8d1a95b486b68605cb4441e603 (patch)
treebffc84037861293872f5db616345888ffbd0e453 /demos/northwind-db/protected/database/Employee.php
parent109ff4ee3bec41d95a122c6a69ad204c5dcfe099 (diff)
Changed RELATIONS declaration.
Diffstat (limited to 'demos/northwind-db/protected/database/Employee.php')
-rw-r--r--demos/northwind-db/protected/database/Employee.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/northwind-db/protected/database/Employee.php b/demos/northwind-db/protected/database/Employee.php
index 7a678f57..92de3f24 100644
--- a/demos/northwind-db/protected/database/Employee.php
+++ b/demos/northwind-db/protected/database/Employee.php
@@ -30,7 +30,7 @@ class Employee extends TActiveRecord
public $Subordinates=array();
public $Superior;
- protected static $RELATIONS = array
+ public static $RELATIONS = array
(
'Territories' => array(self::HAS_MANY, 'Territory', 'EmployeeTerritories'),
'Orders' => array(self::HAS_MANY, 'Order'),