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

Namespaces

  • Core
    • Authentication
      • Auto
        • Driver
      • Driver
    • Cache
      • Driver
    • Charset
      • Driver
    • Configuration
    • Controller
    • Converter
      • Driver
    • Decoder
      • Driver
    • Encoder
      • Driver
    • Env
      • Authentication
      • Locale
      • Proxy
      • Server
        • HTTP
        • Redirect
        • X
    • Exception
    • Exchange
      • 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
    • URI
      • Driver
    • Version
    • View
      • Driver
        • coreui
          • Control
            • Button
            • Table
          • Element
        • htmlbuilder
          • Tags
        • yui
          • Modules
  • None
  • PHP

Classes

  • base64
  • base64s
  • boolean
  • charset
  • clear
  • crc32
  • decimal
  • delegate
  • escape
  • hash
  • html
  • integer
  • md5
  • md5sum
  • passthrough
  • qp
  • rawurl
  • serialize
  • sha
  • sha1
  • sha1sum
  • smd5
  • split
  • ssha
  • taggedhash
  • url
  • uu
  • xml

Class charset

Converts input data in the globally active character set to a given destination charset.

Core\Object implements Core\Chainable
Extended by Core\Set implements Core\Accessor
Extended by Core\Set\Mutable implements Core\Mutator
Extended by Core\Field implements Core\Inquiry
Extended by Core\Encoder
Extended by Core\Encoder\Driver\charset
Namespace: Core\Encoder\Driver
Package: Core\Encoder
Since: 3.0
Requires: PHP 5.3
Version: 1.1
Located at Encoder/Driver/charset.inc.php

Methods summary

public
# __construct( Core\URI $uri )

Initialises new encoder instance and automatically initialises and chains a successor encoder if specified by URI. Additionally sets the character set from the URI path.

Initialises new encoder instance and automatically initialises and chains a successor encoder if specified by URI. Additionally sets the character set from the URI path.

Parameters

$uri
Reference to describing URI instance from factory.

Since

3.0

Overrides

Core\Encoder::__construct
public Core\URI
# decoderURI( )

Resolves the decoder initialisation URI to reverse this encoding.

Resolves the decoder initialisation URI to reverse this encoding.

Returns

Core\URI

Reference to URI instance to initialise decoder with or null, if this encoding does not allow reversal.

Since

3.0

Overrides

Core\Encoder::decoderURI
protected string
# _encode( string $data )

Encoder stub used by drivers to implement specific encodings.

Encoder stub used by drivers to implement specific encodings.

Parameters

$data
Data to encode.

Returns

string
Encoded data.

Since

3.0

Methods inherited from Core\Encoder

__invoke(), autocreate(), chain(), decoderChainURI(), encode(), encoderChainURI(), getDataForUndefinedKey(), resolveDecoder(), resolveDecoderChain(), reversible(), verify()

Methods inherited from Core\Field

getDataForKey(), getDataForKeys(), issetDataForKey(), offsetExists(), offsetGet(), offsetSet(), offsetUnset()

Methods inherited from Core\Set\Mutable

__set(), __unset()

Methods inherited from Core\Set

__get(), __isset()

Methods inherited from Core\Object

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

Constants summary

Constants inherited from Core\Encoder

SuccessorParameter

Constants inherited from Core\Object

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

Properties summary

protected Charset $_v_charset

KVC property.

KVC property.

Since

3.0
#

Properties inherited from Core\Encoder

$_v_parameters, $_v_successor, $_v_uri

Properties inherited from Core\Field

$_v_data

Magic properties

public read-only Charset $charset

Reference to destination character set instance for conversions.

Magic properties inherited from Core\Encoder

$dataSource, $parameters, $successor, $uri

Magic properties inherited from Core\Field

$data

Magic properties inherited from Core\Object

$hash, $uuid

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