From cc09e963e8ef7ea093c7b13096856e5c732cd776 Mon Sep 17 00:00:00 2001 From: emkael Date: Tue, 15 Mar 2016 22:06:47 +0100 Subject: * extending TActiveRecord so it's capable of fetching mapped column fields from sql maps --- app/php/model/Entry.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'app/php/model/Entry.php') 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 @@ [self::BELONGS_TO, 'Calendar', '_calendar'] ]; - + public static function finder($className=__CLASS__) { return parent::finder($className); } - + } ?> -- cgit v1.2.3