/** * Updates one tag * */ public function update() { $id_tag = $this->input->post('id_tag'); $value = $this->input->post('tag_name'); $selector = $this->input->post('selector'); if ($value != '') { $this->tag_model->update(array('id_tag' => $id_tag), $this->input->post()); $this->callback = array(array('fn' => 'ION.notification', 'args' => array('success', lang('ionize_message_operation_ok'))), array('fn' => 'ION.setHTML', 'args' => array($selector, $value))); } $this->response(); }