diff options
author | emkael <emkael@tlen.pl> | 2016-03-15 22:06:47 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2016-03-15 22:06:47 +0100 |
commit | cc09e963e8ef7ea093c7b13096856e5c732cd776 (patch) | |
tree | 9da36344800f23ed05b00df914e2b9c71e86ccee /app/php/model/UserPreference.php | |
parent | 6dcabb240f0ff0ee1654ac66f806bedb22495d23 (diff) |
* extending TActiveRecord so it's capable of fetching mapped column fields from sql maps
Diffstat (limited to 'app/php/model/UserPreference.php')
-rw-r--r-- | app/php/model/UserPreference.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/php/model/UserPreference.php b/app/php/model/UserPreference.php index ff32529..90fa221 100644 --- a/app/php/model/UserPreference.php +++ b/app/php/model/UserPreference.php @@ -1,6 +1,8 @@ <?php -class UserPreference extends TActiveRecord { +Prado::using('Application.db.ActiveRecord'); + +class UserPreference extends ActiveRecord { const TABLE = 'user_selections'; |