Zikula 1.0.1
[ class tree: Zikula 1.0.1 ] [ index: Zikula 1.0.1 ] [ all elements ]

Class: Net_IDNA_php4

Source Location: /includes/classes/idna/idna_convert.class.php

Class Overview

idna_convert
   |
   --Net_IDNA_php4

Adapter class for aligning the API of idna_convert with that of


Author(s):

Version:

  • 0.4.2

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 967]
Adapter class for aligning the API of idna_convert with that of

Net_IDNA




Tags:

author:  Matthias Sommerfeld <mso@phlylabs.de>
version:  0.4.2


[ Top ]


Class Methods


method setParams [line 985]

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

Sets a new option value. Available options and values:

[encoding - Use either UTF-8, UCS4 as array or UCS4 as string as input ('utf8' for UTF-8, 'ucs4_string' and 'ucs4_array' respectively for UCS4); 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




Tags:

return:  true on success, false otherwise
access:  public


Parameters:

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

[ Top ]


Documentation generated on Fri, 18 Jul 2008 21:46:50 +0200 by phpDocumentor 1.4.1