public function getSurvey($surveyId, $includePages = false)
	{
		if ($includePages) {
			return $this->sendRequest(
				$this->createRequest('GET', sprintf('surveys/%d/details', $surveyId))
			);
		} else {
			return $this->sendRequest(
				$this->createRequest('GET', sprintf('surveys/%d', $surveyId))
			);
		}
	}
public function getSurvey($surveyId, $includePages = false)
	{
		if ($includePages) {
			return $this->sendRequest(
				$this->createRequest('GET', sprintf('surveys/%d/details', $surveyId))
			);
		} else {
			return $this->sendRequest(
				$this->createRequest('GET', sprintf('surveys/%d', $surveyId))
			);
		}
	}
public function getSurvey ( $ surveyId , $ includePages = false ) { if ( $ includePages ) { return $ this -> sendRequest ( $ this -> createRequest ( 'GET' , sprintf ( 'surveys/%d/details' , $ surveyId ) ) ) ; } else { return $ this -> sendRequest ( $ this -> createRequest ( 'GET' , sprintf ( 'surveys/%d' , $ surveyId ) ) ) ; } }
getSurvey - Get information on a survey

@param int $surveyId - See survey ID to use
@param bool $includePages - Include page details or not

@return @see Client::sendRequest
getSurvey - Get information on a survey