Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function getLazyFeed($param) {
- if (!$this->input->is_ajax_request()) {
- show_404();
- }
- $num = $this->input->get('num') ? $this->input->get('num') : 0;
- $lazyFeed = $this->news_model->getLazyFeed($num);
- $this->output
- ->set_content_type('application/json')
- ->set_output(json_encode($lazyFeed));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement