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

Class: Net_IDNA_php4

Source Location: /Net_IDNA-0.5.0/IDNA/php4.php

Class Overview

idna_convert
   |
   --Net_IDNA_php4

Adapter class for aligning the API of idna_convert with that of Net_IDNA


Author(s):

Methods


Inherited Variables

Inherited Methods

Class: idna_convert

idna_convert::idna_convert()
idna_convert::decode()
Decode a given ACE domain name
idna_convert::encode()
Encode a given UTF-8 domain name
idna_convert::get_last_error()
Use this method to get the last error ocurred
idna_convert::set_parameter()
Sets a new option value. Available options and values:

Class Details

[line 2961]
Adapter class for aligning the API of idna_convert with that of Net_IDNA


[ Top ]


Method Detail

Net_IDNA_php4 (Constructor)   [line 2970]

Net_IDNA_php4 Net_IDNA_php4( [array $options = false])

Constructor
  • See: setParams()
  • Access: public

Parameters:

array   $options   — 

[ Top ]

setParams   [line 2993]

boolean setParams( mixed $option, [ $param = false], string $value)

Sets a new option value. Available options and values:

[utf8 - Use either UTF-8 or ISO-8859-1 as input (true for UTF-8, false otherwise); The output is always UTF-8] [overlong - Unicode does not allow unnecessarily long encodings of chars, to allow this, set this parameter to true, else to false; default is false.] [strict - true: strict mode, good for registration purposes - Causes errors on failures; false: loose mode, ideal for "wildlife" applications by silently ignoring errors and returning the original input instead]

  • Return: true on success, false otherwise
  • Access: public

Parameters:

mixed   $option   —  Parameter to set (string: single parameter; array of Parameter => Value pairs)
string   $value   —  Value to use (if parameter 1 is a string)
   $param   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:22:39 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.