summaryrefslogtreecommitdiff
path: root/app/php/model/User.php
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-03-15 22:06:47 +0100
committeremkael <emkael@tlen.pl>2016-03-15 22:06:47 +0100
commitcc09e963e8ef7ea093c7b13096856e5c732cd776 (patch)
tree9da36344800f23ed05b00df914e2b9c71e86ccee /app/php/model/User.php
parent6dcabb240f0ff0ee1654ac66f806bedb22495d23 (diff)
* extending TActiveRecord so it's capable of fetching mapped column fields from sql maps
Diffstat (limited to 'app/php/model/User.php')
-rw-r--r--app/php/model/User.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/php/model/User.php b/app/php/model/User.php
index b31b926..baa9912 100644
--- a/app/php/model/User.php
+++ b/app/php/model/User.php
@@ -1,8 +1,9 @@
<?php
+Prado::using('Application.db.ActiveRecord');
Prado::using('Application.model.Calendar');
-class User extends TActiveRecord {
+class User extends ActiveRecord {
const TABLE = 'users';