summaryrefslogtreecommitdiff
path: root/demos/quickstart
diff options
context:
space:
mode:
Diffstat (limited to 'demos/quickstart')
-rw-r--r--demos/quickstart/protected/pages/Database/ActiveRecord.page2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/quickstart/protected/pages/Database/ActiveRecord.page b/demos/quickstart/protected/pages/Database/ActiveRecord.page
index a28c3d5e..ce92f489 100644
--- a/demos/quickstart/protected/pages/Database/ActiveRecord.page
+++ b/demos/quickstart/protected/pages/Database/ActiveRecord.page
@@ -1078,7 +1078,7 @@ as the logical column name, they do not need to be listed in <tt>COLUMN_MAPPING<
class UserRecord extends TActiveRecord
{
const TABLE='users';
- protected static $COLUMN_MAPPING=array
+ public static $COLUMN_MAPPING=array
(
'user_id'=>'id',
'email_address'=>'email',