protected function getState($key, $defaultValue = null) { return isset($this->_state[$key]) ? $this->_state[$key] : $defaultValue; }