diff options
Diffstat (limited to 'demos/northwind-db/protected/database/Region.php')
-rw-r--r-- | demos/northwind-db/protected/database/Region.php | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/demos/northwind-db/protected/database/Region.php b/demos/northwind-db/protected/database/Region.php index 3d1c2a84..6473e682 100644 --- a/demos/northwind-db/protected/database/Region.php +++ b/demos/northwind-db/protected/database/Region.php @@ -1,25 +1,25 @@ -<?php
-/**
- * Auto generated by prado-cli.php on 2007-05-01 05:32:34.
- */
-class Region extends TActiveRecord
-{
- const TABLE='Region';
-
- public $RegionID;
- public $RegionDescription;
-
- //comment out the following line to use lazy loading
- //public $Territories=array();
-
- public static $RELATIONS = array
- (
- 'Territories' => array(self::HAS_MANY, 'Territory')
- );
-
- public static function finder($className=__CLASS__)
- {
- return parent::finder($className);
- }
-}
+<?php +/** + * Auto generated by prado-cli.php on 2007-05-01 05:32:34. + */ +class Region extends TActiveRecord +{ + const TABLE='Region'; + + public $RegionID; + public $RegionDescription; + + //comment out the following line to use lazy loading + //public $Territories=array(); + + public static $RELATIONS = array + ( + 'Territories' => array(self::HAS_MANY, 'Territory') + ); + + public static function finder($className=__CLASS__) + { + return parent::finder($className); + } +} ?>
\ No newline at end of file |