From 1ae09931b2572d9c3067c99f841a60cb3330b3f3 Mon Sep 17 00:00:00 2001
From: wei <>
Date: Thu, 3 May 2007 00:48:04 +0000
Subject: Update active relations docs
---
framework/Data/ActiveRecord/Relations/TActiveRecordHasMany.php | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
(limited to 'framework/Data/ActiveRecord/Relations/TActiveRecordHasMany.php')
diff --git a/framework/Data/ActiveRecord/Relations/TActiveRecordHasMany.php b/framework/Data/ActiveRecord/Relations/TActiveRecordHasMany.php
index 795630ab..c5ce616e 100644
--- a/framework/Data/ActiveRecord/Relations/TActiveRecordHasMany.php
+++ b/framework/Data/ActiveRecord/Relations/TActiveRecordHasMany.php
@@ -34,8 +34,10 @@ Prado::using('System.Data.ActiveRecord.Relations.TActiveRecordRelation');
*
* public $players=array(); //list of players
*
- * protected static $RELATIONS=array(
- * 'players' => array(self::HAS_MANY, 'PlayerRecord'));
+ * protected static $RELATIONS=array
+ * (
+ * 'players' => array(self::HAS_MANY, 'PlayerRecord')
+ * );
*
* public static function finder($className=__CLASS__)
* {
@@ -47,7 +49,7 @@ Prado::using('System.Data.ActiveRecord.Relations.TActiveRecordRelation');
* // see TActiveRecordBelongsTo for detailed definition
* }
*
- * The $RELATIONS static property of TeamRecord defines that the
+ * The static $RELATIONS property of TeamRecord defines that the
* property $players has many PlayerRecords.
*
* The players list may be fetched as follows.
--
cgit v1.2.3