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 98]

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

Calls encoder's decode



Tags:

access:  public
static:  


Parameters:

string   $text  

[ Top ]

method encode [line 87]

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

Calls encoder's encode



Tags:

access:  public
static:  


Parameters:

string   $text  

[ Top ]

method getCharset [line 109]

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 Fri, 11 Nov 2005 10:59:54 +0000 by phpDocumentor 1.3.0RC3