Overview

Packages

  • CONTENIDO
  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentRssCreator
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • mpAutoloaderClassMap
  • None
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SearchSolr
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Transport

Classes

  • Swift_CharacterReader_GenericFixedWidthReader
  • Swift_CharacterReader_UsAsciiReader
  • Swift_CharacterReader_Utf8Reader
  • Swift_CharacterReaderFactory_SimpleCharacterReaderFactory
  • Swift_Encoder_Base64Encoder
  • Swift_Encoder_QpEncoder
  • Swift_Encoder_Rfc2231Encoder
  • Swift_Encoding

Interfaces

  • Swift_CharacterReader
  • Swift_CharacterReaderFactory
  • Swift_Encoder
  • Overview
  • Package
  • Class
  • Todo
  • Download

Interface Swift_CharacterReader

Analyzes characters for a specific character set.

Direct known implementers

Swift_CharacterReader_GenericFixedWidthReader, Swift_CharacterReader_UsAsciiReader, Swift_CharacterReader_Utf8Reader
Package: Swift\Encoder
Author: Chris Corbyn
Author: Xavier De Cock xdecock@gmail.com
Located at classes/swiftmailer/lib/classes/Swift/CharacterReader.php
Methods summary
public integer
# getCharPositions( string $string, integer $startOffset, array & $currentMap, mixed & $ignoredChars )

Returns the complete charactermap

Returns the complete charactermap

Parameters

$string
$startOffset
$currentMap
$ignoredChars

Returns

integer
public integer
# getMapType( )

Returns mapType

Returns mapType

Returns

integer
mapType
public integer
# validateByteSequence( int[] $bytes, $size )

Returns an integer which specifies how many more bytes to read. A positive integer indicates the number of more bytes to fetch before invoking this method again. A value of zero means this is already a valid character. A value of -1 means this cannot possibly be a valid character.

Returns an integer which specifies how many more bytes to read. A positive integer indicates the number of more bytes to fetch before invoking this method again. A value of zero means this is already a valid character. A value of -1 means this cannot possibly be a valid character.

Parameters

$bytes
$size

Returns

integer
public integer
# getInitialByteSize( )

Returns the number of bytes which should be read to start each character. For fixed width character sets this should be the number of octets-per-character. For multibyte character sets this will probably be 1.

Returns the number of bytes which should be read to start each character. For fixed width character sets this should be the number of octets-per-character. For multibyte character sets this will probably be 1.

Returns

integer
Constants summary
integer MAP_TYPE_INVALID
# 0x01
integer MAP_TYPE_FIXED_LEN
# 0x02
integer MAP_TYPE_POSITIONS
# 0x03
CMS CONTENIDO 4.9.7 API documentation generated by ApiGen