ICanBoogie/Common v1.2.2.1
  • Namespace
  • Function

Namespaces

  • ICanBoogie

Classes

  • FormattedString

Interfaces

  • ToArray
  • ToArrayRecursive

Traits

  • ToArrayRecursiveTrait

Exceptions

  • OffsetError
  • OffsetNotDefined
  • OffsetNotReadable
  • OffsetNotWritable
  • PropertyError
  • PropertyIsReserved
  • PropertyNotDefined
  • PropertyNotReadable
  • PropertyNotWritable

Functions

  • array_flatten
  • array_insert
  • array_merge_recursive
  • capitalize
  • downcase
  • dump
  • escape
  • escape_all
  • exact_array_merge_recursive
  • format
  • generate_v4_uuid
  • normalize
  • normalize_url_path
  • remove_accents
  • shorten
  • sort_by_weight
  • stable_sort
  • unaccent_compare
  • unaccent_compare_ci
  • upcase

Function escape

Escape HTML special characters.

HTML special characters are escaped using the htmlspecialchars() function with the ENT_COMPAT flag.

Namespace: ICanBoogie
Located at helpers.php

Parameters summary

string $str The string to escape.
string $charset = CHARSET <p>The charset of the string to escape. Defaults to ICanBoogie\CHARSET (utf-8).</p>

Return value summary

string string
ICanBoogie/Common v1.2.2.1 API documentation generated by ApiGen