diff options
Diffstat (limited to 'demos/quickstart/protected/pages/Database/Scaffold.page')
-rw-r--r-- | demos/quickstart/protected/pages/Database/Scaffold.page | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/quickstart/protected/pages/Database/Scaffold.page b/demos/quickstart/protected/pages/Database/Scaffold.page index 36a0ec21..055cac26 100644 --- a/demos/quickstart/protected/pages/Database/Scaffold.page +++ b/demos/quickstart/protected/pages/Database/Scaffold.page @@ -39,10 +39,10 @@ table as defined in the <a href="?page=Database.ActiveRecord">Active Record</a> <com:TTextHighlighter Language="php" CssClass="source">
class UserRecord extends TActiveRecord
{
+ const TABLE='users';
+
public $username;
public $email;
-
- public static $_tablename='users';
}
</com:TTextHighlighter>
|