Punic APIs
  • Namespace
  • Class
  • Tree
  • Todo

Namespaces

  • Punic
    • Exception

Classes

  • Calendar
  • Comparer
  • Currency
  • Data
  • Language
  • Misc
  • Number
  • Phone
  • Plural
  • Territory
  • Unit

Exceptions

  • Exception

Class Comparer

Various helper stuff.

Namespace: Punic
Located at Comparer.php

Methods summary

public
# __construct( string $locale = null, boolean $caseSensitive = false )

Initializes the instance.

Initializes the instance.

Parameters

$locale
$caseSensitive
public integer
# compare( string $a, string $b )

Compare two strings.

Compare two strings.

Parameters

$a
$b

Returns

integer
public array
# sort( array & $array, boolean $keepKeys = false )

Parameters

$array
$keepKeys

Returns

array
Punic APIs API documentation generated by ApiGen