.

ConverterPunycode Class Reference
[Punycode]

Converter from and to punycode. More...

Inheritance diagram for ConverterPunycode:
IConverter

List of all members.

Public Member Functions

  decode ($value, $params=false)
  encode ($value, $params=false)

Detailed Description

Converter from and to punycode.

Author:
Gerd Riesselmann

Definition at line 10 of file punycode.converter.php.


Member Function Documentation

ConverterPunycode::decode ( value,
params = false  
)

Implements IConverter.

Definition at line 20 of file punycode.converter.php.

00020                                                         {
00021                 $inst = $this->create_converter();
00022                 $ret = false;
00023                 if ($inst) {
00024                         $ret = $inst->decode(trim($value));
00025                 }
00026                 return $ret;            
00027         }       
ConverterPunycode::encode ( value,
params = false  
)

Implements IConverter.

Definition at line 11 of file punycode.converter.php.

00011                                                         {
00012                 $inst = $this->create_converter();
00013                 $ret = false;
00014                 if ($inst) {
00015                         $ret = $inst->encode(trim($value));
00016                 }
00017                 return $ret;
00018         }

The documentation for this class was generated from the following file: