Overview

Packages

  • ClipIt
    • clipit
      • api
    • urjc
      • backend
  • Elgg
    • Core
      • Access
      • Authentication
      • Cache
      • Caches
      • Core
      • DataMode
        • Site
      • DataModel
        • Annotations
        • Entities
        • Extender
        • File
        • Importable
        • Loggable
        • Notable
        • Object
        • User
      • DataStorage
      • Exception
      • Exceptions
        • Stub
      • FileStore
        • Disk
      • Groups
      • Helpers
      • HMAC
      • Memcache
      • Metadata
      • Navigation
      • ODD
      • Output
      • Plugins
        • Settings
      • Sessions
      • SocialModel
        • Friendable
        • Locatable
      • WebServicesAPI
      • Widgets
      • XML
      • XMLRPC
    • Exceptions
      • Stub
  • None
  • PHP

Classes

  • ElggTranslit
  • ODDRelationship
  • Overview
  • Package
  • Class
  • Tree

Class ElggTranslit

Elgg Transliterate

For creating "friendly titles" for URLs

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

This software consists of voluntary contributions made by many individuals and is licensed under the LGPL. For more information, see <http://www.doctrine-project.org>.

Package: Elgg\Core
Author: Konsta Vesterinen <kvesteri@cc.hut.fi>
Author: Jonathan H. Wage <jonwage@gmail.com>
Author: Steve Clay <steve@mrclay.org>
Located at ElggTranslit.php
Methods summary
public static string
# urlize( string $string, string $separator = '-' )

Create a version of a string for embedding in a URL

Create a version of a string for embedding in a URL

Parameters

$string
string
$string A UTF-8 string
$separator
string
$separator The character to separate words with

Returns

string
public static string
# transliterateAscii( string $utf8 )

Transliterate Western multibyte chars to ASCII

Transliterate Western multibyte chars to ASCII

Parameters

$utf8
string
$utf8 a UTF-8 string

Returns

string
public static array
# getAsciiTranslitMap( )

Get array of UTF-8 (NFC) character replacements.

Get array of UTF-8 (NFC) character replacements.

Returns

array
public static boolean
# hasNormalizerSupport( )

Tests that "normalizer_normalize" exists and works

Tests that "normalizer_normalize" exists and works

Returns

boolean
API documentation generated by ApiGen 2.8.0