public function getResponse() {
		$l = $this->action->layout('output');
		
		switch($l) {
			case 'object':
			case 'object_list':
			case 'hash':
			case 'hash_list':
				return $this->envelope->response->{$this->action->getNamespace('output')};
				
			default:
				return $this->envelope->response;
		}
	}
public function getResponse() {
		$l = $this->action->layout('output');
		
		switch($l) {
			case 'object':
			case 'object_list':
			case 'hash':
			case 'hash_list':
				return $this->envelope->response->{$this->action->getNamespace('output')};
				
			default:
				return $this->envelope->response;
		}
	}
public function getResponse ( ) { $ l = $ this -> action -> layout ( 'output' ) ; switch ( $ l ) { case 'object' : case 'object_list' : case 'hash' : case 'hash_list' : return $ this -> envelope -> response -> { $ this -> action -> getNamespace ( 'output' ) } ; default : return $ this -> envelope -> response ; } }
For known layouts, namespaced response is returned, or else the data is returned as is.
@return \stdClass
For known layouts namespaced response is returned or else the data is returned as is .