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_CharacterStream_ArrayCharacterStream
  • Swift_CharacterStream_NgCharacterStream

Interfaces

  • Swift_CharacterStream
  • Overview
  • Package
  • Class
  • Todo
  • Download

Class Swift_CharacterStream_NgCharacterStream

A CharacterStream implementation which stores characters in an internal array.

Swift_CharacterStream_NgCharacterStream implements Swift_CharacterStream
Package: Swift\CharacterStream
Author: Xavier De Cock xdecock@gmail.com
Located at classes/swiftmailer/lib/classes/Swift/CharacterStream/NgCharacterStream.php
Methods summary
public
# __construct( Swift_CharacterReaderFactory $factory, unknown_type $charset )

The constructor

The constructor

Parameters

$factory
$charset
public
# setCharacterSet( string $charset )

Set the character set used in this CharacterStream.

Set the character set used in this CharacterStream.

Parameters

$charset

Implementation of

Swift_CharacterStream::setCharacterSet()
public
# setCharacterReaderFactory( Swift_CharacterReaderFactory $factory )

Set the CharacterReaderFactory for multi charset support.

Set the CharacterReaderFactory for multi charset support.

Parameters

$factory

Implementation of

Swift_CharacterStream::setCharacterReaderFactory()
public
# flushContents( )

See

Swift_CharacterStream::flushContents()

Implementation of

Swift_CharacterStream::flushContents()
public
# importByteStream( Swift_OutputByteStream $os )

Parameters

$os

See

Swift_CharacterStream::importByteStream()

Implementation of

Swift_CharacterStream::importByteStream()
public
# importString( string $string )

Parameters

$string

See

Swift_CharacterStream::importString()

Implementation of

Swift_CharacterStream::importString()
public string
# read( integer $length )

Parameters

$length

Returns

string

See

Swift_CharacterStream::read()

Implementation of

Swift_CharacterStream::read()
public int[]
# readBytes( integer $length )

Parameters

$length

Returns

int[]

See

Swift_CharacterStream::readBytes()

Implementation of

Swift_CharacterStream::readBytes()
public
# setPointer( integer $charOffset )

Parameters

$charOffset

See

Swift_CharacterStream::setPointer()

Implementation of

Swift_CharacterStream::setPointer()
public
# write( string $chars )

Parameters

$chars

See

Swift_CharacterStream::write()

Implementation of

Swift_CharacterStream::write()
Properties summary
private Swift_CharacterReader $_charReader

The char reader (lazy-loaded) for the current charset.

The char reader (lazy-loaded) for the current charset.

#
private Swift_CharacterReaderFactory $_charReaderFactory

A factory for creatiing CharacterReader instances.

A factory for creatiing CharacterReader instances.

#
private string $_charset

The character set this stream is using.

The character set this stream is using.

#
private string $_datas

The datas stored as is

The datas stored as is

# ""
private integer $_datasSize

Number of bytes in the stream

Number of bytes in the stream

# 0
private mixed $_map

Map

Map

#
private integer $_mapType

Map Type

Map Type

# 0
private integer $_charCount

Number of characters in the stream

Number of characters in the stream

# 0
private unknown_type $_currentPos

Position in the stream

Position in the stream

# 0
CMS CONTENIDO 4.9.7 API documentation generated by ApiGen