From 8a674fb83fa2dd80bc653745e03b24450a9cf68d Mon Sep 17 00:00:00 2001
From: xue <>
Date: Tue, 6 Mar 2007 20:40:51 +0000
Subject: changed the way to specify active record table.
---
.../protected/pages/Database/ActiveRecord.page | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
(limited to 'demos/quickstart/protected/pages/Database/ActiveRecord.page')
diff --git a/demos/quickstart/protected/pages/Database/ActiveRecord.page b/demos/quickstart/protected/pages/Database/ActiveRecord.page
index 041a1126..0a8d6580 100644
--- a/demos/quickstart/protected/pages/Database/ActiveRecord.page
+++ b/demos/quickstart/protected/pages/Database/ActiveRecord.page
@@ -73,11 +73,11 @@ CREATE TABLE users
Each property of the UserRecord class must correspond to a - column with the same name in the "users" table. The static class variable - $_tablename (must be public) is optional when the class name is the same as - the table name in the database, otherwise $_tablename must + column with the same name in the "users" table. The class constant + TABLE is optional when the class name is the same as + the table name in the database, otherwise TABLE must specify the table name that corresponds to your Active Record class.
@@ -120,7 +120,7 @@ class UserRecord extends TActiveRecord {