public function getSessionData($key = NULL, $default_value = NULL) { if (!$this->remember_state) { return $key ? $default_value : []; } return $key ? $this->grid_session->{$key} : $this->grid_session ?: $default_value; }