diff options
author | wei <> | 2007-05-03 00:48:04 +0000 |
---|---|---|
committer | wei <> | 2007-05-03 00:48:04 +0000 |
commit | 1ae09931b2572d9c3067c99f841a60cb3330b3f3 (patch) | |
tree | 0b263b594bfa9c2bf5b37d2d565b4583f796bf2c /framework/Data/ActiveRecord/Relations/TActiveRecordHasMany.php | |
parent | 24bdc94145c11744f624149a0dbdd10e3d5ca4cd (diff) |
Update active relations docs
Diffstat (limited to 'framework/Data/ActiveRecord/Relations/TActiveRecordHasMany.php')
-rw-r--r-- | framework/Data/ActiveRecord/Relations/TActiveRecordHasMany.php | 8 |
1 files changed, 5 insertions, 3 deletions
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
* }
* </code>
- * The <tt>$RELATIONS</tt> static property of TeamRecord defines that the
+ * The static <tt>$RELATIONS</tt> property of TeamRecord defines that the
* property <tt>$players</tt> has many <tt>PlayerRecord</tt>s.
*
* The players list may be fetched as follows.
|