PHP Class TrueBV\Punycode

Mostrar archivo Open project: nabble/semalt-blocker Class Usage Examples

Protected Properties

Property Type Description
$decodeTable
$encodeTable
$encoding

Public Methods

Method Description
__construct ( $encoding = 'UTF-8' )
decode ( $input )
encode ( $input )

Protected Methods

Method Description
adapt ( $delta, $numPoints, $firstTime )
calculateThreshold ( $k, $bias )
charToCodePoint ( $char )
codePointToChar ( $code )
decodePart ( $input )
encodePart ( $input )
listCodePoints ( $input )

Method Details

__construct() public method

public __construct ( $encoding = 'UTF-8' )

adapt() protected method

protected adapt ( $delta, $numPoints, $firstTime )

calculateThreshold() protected method

protected calculateThreshold ( $k, $bias )

charToCodePoint() protected method

protected charToCodePoint ( $char )

codePointToChar() protected method

protected codePointToChar ( $code )

decode() public method

public decode ( $input )

decodePart() protected method

protected decodePart ( $input )

encode() public method

public encode ( $input )

encodePart() protected method

protected encodePart ( $input )

listCodePoints() protected method

protected listCodePoints ( $input )

Property Details

$decodeTable protected_oe static_oe property

protected static $decodeTable

$encodeTable protected_oe static_oe property

protected static $encodeTable

$encoding protected_oe property

protected $encoding