ICanBoogie/Common master
  • 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 normalize

Normalizes a string.

Accents are removed, the string is downcased and characters that don't match [a-z0-9] are replaced by the separator character.

Namespace: ICanBoogie
Located at helpers.php

Parameters summary

string $str The string to normalize.
string $separator = '-' The separator characters replaces characters the don't match [a-z0-9].
string $charset = CHARSET The charset of the string to normalize.

Return value summary

string string
ICanBoogie/Common master API documentation generated by ApiGen