diff options
Diffstat (limited to 'app/frontend/db/ActiveRecord.php')
-rw-r--r-- | app/frontend/db/ActiveRecord.php | 7 |
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); + } + } ?> |