public function get_get() { $uids = $this->param('uids'); $tags = Model_API::factory('api_page_tag')->get_all($uids, $this->fields); $this->response($tags); }
public function get_roles() { $uid = $this->param('uid', NULL, TRUE); $roles = Model_API::factory('api_user_role')->get_all(NULL, $this->fields, $uid); $this->response($roles); }
public function get_get() { $uids = $this->param('uids'); $roles = Model_API::factory('api_user_role')->get_all($uids, $this->fields); $this->response($roles); }
public function get_get() { $page_id = $this->param('pid', NULL, TRUE); $parts = Model_API::factory('api_page_part')->get_all($page_id, $this->fields); $this->response($parts); }
public function post_delete() { $id = $this->param('id', NULL, TRUE); $user_id = $this->param('uid', NULL, TRUE); $message = Model_API::factory('api_message')->delete_by_user($id, $user_id); $this->response($message); }
public function get_tags() { $uid = $this->param('uid', NULL, TRUE); $tags = Model_API::factory('api_page_tag')->get_all(NULL, $this->fields, $uid); $this->response($tags); }