Server
[ class tree: Server ] [ index: Server ] [ all elements ]

Class: Encoder

Source Location: /common/Encoding.php

Class Overview


Encoder selection


Variables

Methods



Class Details

[line 30]
Encoder selection

The Encoder is selected using client.ini's EncoderClass.




[ Top ]


Class Variables

$encoders =

[line 41]

List of Encoder



Tags:

var:  array of EncoderInterface
access:  public
static:  

Type:   array


[ Top ]

$log =

[line 35]



Tags:

access:  private
static:  

Type:   Logger


[ Top ]



Class Methods


method decode [line 106]

mixed decode( mixed $text, [mixed $context = 'output'])

Calls encoder decode



Tags:

access:  public
static:  


Parameters:

mixed   $text  

[ Top ]

method encode [line 87]

mixed encode( mixed $text, [mixed $context = 'output'])

Calls encoder encode



Tags:

access:  public
static:  


Parameters:

mixed   $text  

[ Top ]

method getCharset [line 125]

string getCharset( [string $context = 'output'])

Calls encoder's getCharset



Tags:

access:  public
static:  


Parameters:

string   $context   context

[ Top ]

method getEncoder [line 78]

EncoderInterface getEncoder( string $context)



Tags:

access:  private
static:  


Parameters:

string   $context   context

[ Top ]

method init [line 57]

void init( Config $config)

Initializes encoding



Tags:

access:  public
static:  


Parameters:

Config   $config  

[ Top ]

method setDefault [line 47]

void setDefault( string $context)

Sets default encoding object (UTF8).



Tags:

access:  private
static:  


Parameters:

string   $context   context

[ Top ]


Documentation generated on Wed, 30 Aug 2006 21:57:12 +0200 by phpDocumentor 1.3.0RC3