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 iso88591

ISO-8859-1 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… ð ñ ò ó ô õ ö ÷ ø ù ú û ü ý þ ÿ
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

Direct known subclasses

Core\Charset\Driver\iso885915

Namespace: Core\Charset\Driver
Package: Core\Charset
Link: http://en.wikipedia.org/wiki/ISO/IEC_8859-1
Since: 3.1
Requires: PHP 5.3, MBString (for Core\Charset\Driver\iso88591::width() function only)
Version: 1.0
Located at Charset/Driver/iso88591.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\ascii::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\ascii::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\ascii::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\ascii::toUpper
public integer
# width( string $string )

Returns the visible length of a given string.

Returns the visible length of a given string.

Parameters

$string
String to return width of.

Returns

integer
The standard character width visible width of the string.

Since

3.1

Overrides

Core\Charset\Driver\ascii::width
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\ascii::xmlSpecials

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-1 (Latin-1)'
protected string $_v_name
# 'iso-8859-1'

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