JJG/Request.php
public function checkResponseForContent($content = '') {
    if ($this->httpCode == 200 && !empty($this->responseBody)) {
      if (strpos($this->responseBody, $content) !== FALSE) {
        return TRUE;
      }
    }
    return FALSE;
  }
public function checkResponseForContent($content = '') {
    if ($this->httpCode == 200 && !empty($this->responseBody)) {
      if (strpos($this->responseBody, $content) !== FALSE) {
        return TRUE;
      }
    }
    return FALSE;
  }
public function checkResponseForContent ( $ content = '' ) { if ( $ this -> httpCode == 200 && ! empty ( $ this -> responseBody ) ) { if ( strpos ( $ this -> responseBody , $ content ) !== FALSE ) { return TRUE ; } } return FALSE ; }
Check for content in the HTTP response body.

This method should not be called until after execute(), and will only check
for the content if the response code is 200 OK.

@param string $content
String for which the response will be checked.

@return bool
TRUE if $content was found in the response, FALSE otherwise.
Check for content in the HTTP response body .