summaryrefslogtreecommitdiff
path: root/app/frontend/db
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-11-02 16:10:15 +0100
committeremkael <emkael@tlen.pl>2016-11-02 16:10:15 +0100
commitd0dc1a56c91a6c257cb5c89286679952f7656ed9 (patch)
treeb230722b369b15d3fef264baa019a1d2b32c7af3 /app/frontend/db
parent9dad23eb566c3651d0f978bf49b1a5777ae095f6 (diff)
* cleanup in frontend records design
Diffstat (limited to 'app/frontend/db')
-rw-r--r--app/frontend/db/ActiveRecord.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/frontend/db/ActiveRecord.php b/app/frontend/db/ActiveRecord.php
index 1176767..31f87f5 100644
--- a/app/frontend/db/ActiveRecord.php
+++ b/app/frontend/db/ActiveRecord.php
@@ -64,6 +64,13 @@ class ActiveRecord extends TActiveRecord {
return parent::__call($this->_getMappedMethodName($method), $args);
}
+ public static function finder($className=NULL) {
+ if (NULL === $className) {
+ $className = get_called_class();
+ }
+ return parent::finder($className);
+ }
+
}
?>