public function login() { $post = Request_Helper::post(); if (!empty($post)) { $this->storeSession($post); } View_Helper::make('login.login', array(), 'login'); }
public function edit() { $comentarios = $this->model->get(array('id' => Request_Helper::post('id'))); View_Helper::make('comentarios.edit', array('ID' => $comentarios->id, 'USER_ID' => $comentarios->user_id, 'CLIENT' => $comentarios->client, 'MESSAGE' => $comentarios->message), false); }
public function delete() { $this->model->softDelete(Request_Helper::post('id')); }
public function edit() { $usuario = $this->model->get(array('id' => Request_Helper::post('id'))); View_Helper::make('usuarios.edit', array('ID' => $usuario->id, 'LOGIN' => $usuario->login), false); }
public function edit() { $noticia = $this->model->get(array('id' => Request_Helper::post('id'))); View_Helper::make('noticias.edit', array('ID' => $noticia->id, 'USER_ID' => $noticia->user_id, 'TITLE' => $noticia->title, 'MESSAGE' => $noticia->message), false); }