Function Forum_driver_ipb3->ipb_escape

Definitions

sources/forum/ipb3.php

  • Escape a value for HTML embedding, IPB style.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$val string No No required parameter N/A N/A The value to escape

Returns

  • The escaped value
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Escape a value for HTML embedding, IPB style.
 *
 * @param  string $val The value to escape
 * @return string The escaped value
 */

public function ipb_escape(string $val) : string