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 fail() { View_Helper::make('login.fail', array(), 'login'); }
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 noTemplateView() { $data = $this->getData(); View_Helper::make('dashboard.view', array('NOTICIAS_BLOCK' => $data['noticias'], 'COMENTARIOS_BLOCK' => $data['comentarios']), 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); }