public function _handler_update($handler_id, $args, &$data) { $status = parent::_handler_update($handler_id, $args, $data); if ($_MIDGARD['user'] == $this->_person->id) { $this->_component_data['active_leaf'] = "own_details"; } return $status; }
/** * Generates an object update view. * * @param mixed $handler_id The ID of the handler. * @param array $args The argument list. * @param array &$data The local request data. * @return boolean Indicating success. */ function _handler_update($handler_id, $args, &$data) { $status = parent::_handler_update($handler_id, $args, $data); $this->_request_data['todo_title'] = $this->_object->title; return $status; }