protected function getSampleForObject(DataObject $record) {
		$response = Director::test($record->Link());

		if($response->getStatusCode() === 200) {
			return $response->getBody();
		}

		return false;
	}
protected function getSampleForObject(DataObject $record) {
		$response = Director::test($record->Link());

		if($response->getStatusCode() === 200) {
			return $response->getBody();
		}

		return false;
	}
protected function getSampleForObject ( DataObject $ record ) { $ response = Director :: test ( $ record -> Link ( ) ) ; if ( $ response -> getStatusCode ( ) === 200 ) { return $ response -> getBody ( ) ; } return false ; }
Given a DataObject, get an actual SS_HTTPResponse of rendered HTML
@param  DataObject $record
@return string             The rendered HTML
Given a DataObject get an actual SS_HTTPResponse of rendered HTML