_join ('user', 'user_id', $where, []); } public function get_user_paginated ($page, $limit, $where, $order_by, $direction) { return $this->_join_paginate ('user', 'user_id', $where, $page, $limit, $order_by, $direction, []); } public function count_paginated ($where) { return count($this->_join ('user', 'user_id', $where, [])); } }