b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (Version 2.4) [ class tree: libs ] [ index: libs ] [ all elements ]

Class: Net_IDNA_php4

Source Location: /blogs/inc/_ext/idna/_idna_convert.class.php

Class Net_IDNA_php4

Class Overview

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

Located in /blogs/inc/_ext/idna/_idna_convert.class.php [line 956]

idna_convert
   |
   --Net_IDNA_php4
Author(s): Information Tags:
Version:  0.5.0

Methods

[ Top ]
Method Summary
boolean   setParams()   Sets a new option value. Available options and values:

[ Top ]
Methods
setParams  [line 974]

  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

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)

API Tags:
Return:  true on success, false otherwise
Access:  public


[ Top ]

Documentation generated on Sat, 06 Mar 2010 03:34:58 +0100 by phpDocumentor 1.4.2. This site is hosted and maintained by Daniel HAHLER (Contact).