diff --git a/framework/data/DBModel.php b/framework/data/DBModel.php index 422daa88e..d2b4c9834 100644 --- a/framework/data/DBModel.php +++ b/framework/data/DBModel.php @@ -681,6 +681,15 @@ public function getStructure() { return $this->structure; } + public function restrict() { + $args = func_get_args(); + if (is_array($args[0])) { + return $this->setQualifierSet($args); + } else { + return $this->setQualifier($args); + } + } + /* Private methods */ private function _getTableName($table = null) { if (is_null($table)) {