'Server Hosted', 1 => 'External Link', 2 => 'S3', 3 => 'Cloudinary', 4 => 'File', 5 => 'External File', 6 => 'Video', ]; } public function get_user ($where) { return $this->_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, [])); } }