function DrupalReporter::_htmlEntities in SimpleTest 5
Same name and namespace in other branches
- 6 drupal_reporter.php \DrupalReporter::_htmlEntities()
Character set adjusted entity conversion.
@access protected
Parameters
string $message Plain text or Unicode message.:
Return value
string Browser readable message.
3 calls to DrupalReporter::_htmlEntities()
- DrupalReporter::paintError in ./
drupal_reporter.php - Paints a PHP error or exception.
- DrupalReporter::paintFail in ./
drupal_reporter.php - Paints the test failure with a breadcrumbs trail of the nesting test suites below the top level test.
- DrupalReporter::paintPass in ./
drupal_reporter.php - Paints the test passes
File
- ./
drupal_reporter.php, line 193
Class
- DrupalReporter
- Minimal drupal displayer. Accumulates output to $_output. Based on HtmlReporter by Marcus Baker
Code
function _htmlEntities($message) {
return htmlentities($message, ENT_COMPAT, $this->_character_set);
}