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/Category.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'app/php/model/Category.php') diff --git a/app/php/model/Category.php b/app/php/model/Category.php index 03a368a..5e71e53 100644 --- a/app/php/model/Category.php +++ b/app/php/model/Category.php @@ -1,8 +1,9 @@ [self::HAS_MANY, 'Calendar', '_category'] ]; - + public static function finder($className=__CLASS__) { return parent::finder($className); } - + } ?> -- cgit v1.2.3