summaryrefslogtreecommitdiff
path: root/app/php/model/Entry.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/php/model/Entry.php')
-rw-r--r--app/php/model/Entry.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/php/model/Entry.php b/app/php/model/Entry.php
index 85d522f..3106e8e 100644
--- a/app/php/model/Entry.php
+++ b/app/php/model/Entry.php
@@ -1,8 +1,9 @@
<?php
+Prado::using('Application.db.ActiveRecord');
Prado::using('Application.model.Calendar');
-class Entry extends TActiveRecord {
+class Entry extends ActiveRecord {
const TABLE = 'entries';
@@ -30,11 +31,11 @@ class Entry extends TActiveRecord {
public static $RELATIONS = [
'Calendar' => [self::BELONGS_TO, 'Calendar', '_calendar']
];
-
+
public static function finder($className=__CLASS__) {
return parent::finder($className);
}
-
+
}
?>