From ea9e7eb535b460218b693d4e5fec80297eb3e360 Mon Sep 17 00:00:00 2001 From: wei <> Date: Thu, 3 May 2007 01:37:21 +0000 Subject: Add northwind db demo. --- demos/northwind-db/protected/database/Supplier.php | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 demos/northwind-db/protected/database/Supplier.php (limited to 'demos/northwind-db/protected/database/Supplier.php') diff --git a/demos/northwind-db/protected/database/Supplier.php b/demos/northwind-db/protected/database/Supplier.php new file mode 100644 index 00000000..537daade --- /dev/null +++ b/demos/northwind-db/protected/database/Supplier.php @@ -0,0 +1,34 @@ + array(self::HAS_MANY, 'Product') + ); + + public static function finder($className=__CLASS__) + { + return parent::finder($className); + } +} +?> \ No newline at end of file -- cgit v1.2.3