Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function getProjects($status = false, $position = false)
- {
- if ($status) {
- $this->model->where('status', $status);
- }
- if($position) {
- $this->model->where('position', $position);
- }
- return $this->model->get();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement