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 utf32

UTF-32 character set.

Core\Object implements Core\Chainable
Extended by Core\Set implements Core\Accessor
Extended by Core\Charset
Extended by Core\Charset\MultiByte
Extended by Core\Charset\Driver\utf32
Namespace: Core\Charset\Driver
Package: Core\Charset
Link: http://en.wikipedia.org/wiki/UTF-32
Since: 3.1
Requires: PHP 5.3, MBString
Version: 1.0
Located at Charset/Driver/utf32.inc.php

Methods summary

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

Methods inherited from Core\Charset\MultiByte

__construct(), convertFromUTF8(), convertToUTF8(), len(), pad(), sub(), toLower(), toUpper(), truncate(), width()

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
# 'UTF-32'
protected string $_v_name
# 'utf-32'

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