diff options
author | xue <> | 2007-09-29 22:07:12 +0000 |
---|---|---|
committer | xue <> | 2007-09-29 22:07:12 +0000 |
commit | 54e9feab491bcf8d1a95b486b68605cb4441e603 (patch) | |
tree | bffc84037861293872f5db616345888ffbd0e453 /demos/northwind-db/protected/database/OrderDetail.php | |
parent | 109ff4ee3bec41d95a122c6a69ad204c5dcfe099 (diff) |
Changed RELATIONS declaration.
Diffstat (limited to 'demos/northwind-db/protected/database/OrderDetail.php')
-rw-r--r-- | demos/northwind-db/protected/database/OrderDetail.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/northwind-db/protected/database/OrderDetail.php b/demos/northwind-db/protected/database/OrderDetail.php index 9415e33e..1732b0d9 100644 --- a/demos/northwind-db/protected/database/OrderDetail.php +++ b/demos/northwind-db/protected/database/OrderDetail.php @@ -13,7 +13,7 @@ class OrderDetail extends TActiveRecord public $Product;
public $Order;
- protected static $RELATIONS = array
+ public static $RELATIONS = array
(
'Product' => array(self::BELONGS_TO, 'Product'),
'Order' => array(self::BELONGS_TO, 'Order'),
|