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/Category.php | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 demos/northwind-db/protected/database/Category.php (limited to 'demos/northwind-db/protected/database/Category.php') diff --git a/demos/northwind-db/protected/database/Category.php b/demos/northwind-db/protected/database/Category.php new file mode 100644 index 00000000..05fa7ed0 --- /dev/null +++ b/demos/northwind-db/protected/database/Category.php @@ -0,0 +1,26 @@ + 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