xplo.re Medusa Core Framework 3.2
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Event
  • Todo
  • Download

Namespaces

  • Core
    • Authentication
      • Auto
        • Driver
      • Driver
    • Cache
      • Driver
    • Charset
      • Driver
    • Configuration
      • Driver
    • Controller
    • Converter
      • Driver
    • Decoder
      • Driver
    • Encoder
      • Driver
    • Env
      • Authentication
      • Locale
      • Proxy
      • Server
        • HTTP
        • Redirect
        • X
    • Exception
    • Exchange
      • Driver
    • Fault
      • Formatter
        • Driver
      • Incident
        • Exception
      • Reporter
        • Driver
    • Field
    • Filter
      • Driver
    • Formatter
      • Driver
        • coreuimarkup
          • Token
    • Hash
    • Loader
    • Locale
    • Log
      • Driver
    • Module
      • Dependency
        • Requirement
          • Core
          • PHP
      • Linkage
        • Driver
    • PDF
    • Plugin
    • Query
      • Driver
    • Server
      • Driver
    • Session
      • Driver
    • Set
    • Storage
      • Driver
      • Field
        • Element
    • Stream
      • Driver
    • String
    • Translation
      • Driver
      • Language
        • Driver
    • Type
    • URI
      • Driver
    • Version
    • View
      • Driver
        • coreui
          • Control
            • Button
            • Table
          • Element
        • htmlbuilder
          • Tags
        • yui
          • Modules
  • None
  • PHP

Classes

  • ascii
  • iso88591
  • iso885915
  • macroman
  • sjis
  • utf16
  • utf16be
  • utf16le
  • utf32
  • utf32be
  • utf32le
  • utf8

Class iso885915

ISO-8859-15 (Latin-9) character set.

Code …0 …1 …2 …3 …4 …5 …6 …7 …8 …9 …A …B …C …D …E …F
0… NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI
1… DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US
2… SP ! " # $ % & ' ( ) * + , - . /
3… 0 1 2 3 4 5 6 7 8 9 : ; < = > ?
4… @ A B C D E F G H I J K L M N O
5… P Q R S T U V W X Y Z [ \ ] ^ _
6… ` a b c d e f g h i j k l m n o
7… p q r s t u v w x y z { | } ~ DEL
8… PAD HOP BPH NBH IND NEL SSA ESA HTS HTJ VTS PLD PLU RI SS2 SS3
9… DCS PU1 PU2 STS CCH MW SPA EPA SOS SGCISCI CSI ST OSC PM APC
A… NBSP¡ ¢ £ € ¥ Š § š © ª « ¬ SHY ® ¯
B… ° ± ² ³ Ž µ ¶ · ž ¹ º » Œ œ Ÿ ¿
C… À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï
D… Ð Ñ Ò Ó Ô Õ Ö × Ø Ù Ú Û Ü Ý Þ ß
E… à á â ã ä å æ ç è é ê ë ì í î ï
F… ð ñ ò ó ô õ ö ÷ ø ù ú û ü ý þ ÿ

ISO-8859-15 equals ISO-8859-1 except that 8 characters were replaced to add the euro sign, support for transliteration of Russian names in Finnish and Estonian typography and improve French writing. The changed code positions are 0xA4, 0xA6, 0xA8, 0xB4, 0xB8, 0xBC, 0xBD and 0xBE and are marked bold in the code chart.

Languages that are completely covered by this character set are: Afrikaans, Albanian, Breton, Catalan, Danish, Dutch, English, Estonian, Faroese, Finnish, French, Galician, German, Icelandic, Irish, Italian, Kurdish, Latin, Luxembourgish, Malay, Norwegian, Occitan, Portuguese, Rhaeto-Romanic, Scottish Gaelic, Scots, Spanish, Swahili, Swedish, Tagalog, Walloon.

Core\Object implements Core\Chainable
Extended by Core\Set implements Core\Accessor
Extended by Core\Charset
Extended by Core\Charset\Driver\ascii
Extended by Core\Charset\Driver\iso88591
Extended by Core\Charset\Driver\iso885915
Namespace: Core\Charset\Driver
Package: Core\Charset
Link: http://en.wikipedia.org/wiki/ISO-8859-15
Since: 3.1
Requires: PHP 5.3, MBString
Version: 1.0
Located at Charset/Driver/iso885915.inc.php

Methods summary

public string
# convertFromUTF8( string $string )

Converts a string encoded in UTF-8 to the current character set.

Converts a string encoded in UTF-8 to the current character set.

Parameters

$string
UTF-8 encoded source string.

Returns

string
Converted string in character set of current instance.

Since

3.1

Overrides

Core\Charset\Driver\iso88591::convertFromUTF8
public string
# convertToUTF8( string $string )

Converts a string encoded in the character set of this instance to UTF-8.

Converts a string encoded in the character set of this instance to UTF-8.

Parameters

$string
String encoded in this character set.

Returns

string
String converted from this character set to UTF-8.

Since

3.1

Overrides

Core\Charset\Driver\iso88591::convertToUTF8
public string
# toLower( string $string )

Transforms a given string to lowercase based on Unicode character properties with respect to this character set.

Transforms a given string to lowercase based on Unicode character properties with respect to this character set.

Parameters

$string
String to transform to lowercase.

Returns

string
Transformed lowercase variant of source string.

Since

3.1

Overrides

Core\Charset\Driver\iso88591::toLower
public string
# toUpper( string $string )

Transforms a given string to uppercase based on Unicode character properties with respect to this character set.

Transforms a given string to uppercase based on Unicode character properties with respect to this character set.

Parameters

$string
String to transform to uppercase.

Returns

string
Transformed uppercase variant of source string.

Since

3.1

Overrides

Core\Charset\Driver\iso88591::toUpper
public string
# xmlSpecials( $string, integer $quotes = null )

Encodes all special XML characters in provided string with respect to this character set instance.

Encodes all special XML characters in provided string with respect to this character set instance.

Parameters

$string
to encode.
$quotes

Optional bit mask to control encoding of quotation marks. Allows a combination of the following flags:

  • Core\Charset::NoQuotesFlag

    Default. Quotation marks are not encoded. Ignored if combined with other flags.

  • Core\Charset::SingleQuotesFlag

    Encodes single quotation marks as their respective XML entities.

  • Core\Charset::DoubleQuotesFlag

    Encodes double quotation marks as their respective XML entities.

Returns

string

String where all special XML characters were replaced by their corresponding XML entity.

Since

3.1

Overrides

Core\Charset\Driver\iso88591::xmlSpecials

Methods inherited from Core\Charset\Driver\iso88591

width()

Methods inherited from Core\Charset\Driver\ascii

len(), pad(), sub(), truncate()

Methods inherited from Core\Charset

_restoreEnvironment(), _setupEnvironment(), activate(), active(), alias(), all(), convertFrom(), convertFromActive(), convertTo(), convertToActive(), convertUCS2ToUTF8(), convertUTF8ToUCS2(), format(), get(), hash(), iterator(), registerAlias(), sizeof(), vformat()

Methods inherited from Core\Set

__get(), __isset()

Methods inherited from Core\Object

__autocreateFactory(), __call(), __processParameters(), __toString(), attachMethod(), chain(), getValueForKey(), getValueForKeyPath(), getValueForUndefinedKey(), issetValueForKey(), setValueForKey(), setValueForKeyPath(), setValueForUndefinedKey(), uuid()

Constants summary

Constants inherited from Core\Charset

ACK, BEL, BS, CAN, CR, CRLF, DEL, DLE, DoubleQuotesFlag, EM, ENQ, EOT, ESC, ETB, ETX, FF, FS, GS, LF, LeftPadFlag, NAK, NUL, NoQuotesFlag, RS, RightPadFlag, SI, SO, SOH, STX, SUB, SYN, SingleQuotesFlag, TAB, TruncatePadFlag, US, VT

Constants inherited from Core\Object

AnyParameterType, AutochainParameterType, AutocreateParameterType, BooleanParameterType, CharParameterType, EnumParameterType, IntegerParameterType, RealParameterType, StringParameterType, UserParameterType

Properties summary

protected string $_v_displayName
# 'ISO-8859-15 (Latin-9)'
protected string $_v_name
# 'iso-8859-15'

Properties inherited from Core\Charset

$_activeInstance, $_aliasMap, $_instances

Magic properties inherited from Core\Charset

$displayName, $name

Magic properties inherited from Core\Object

$hash, $uuid

xplo.re Medusa Core Framework 3.2 API documentation generated by ApiGen