Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: Unknown

Developer Network License

The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5

 Class Net_IDNA_php4

Description

Adapter class for aligning the API of idna_convert with that of

Net_IDNA

Located in /simplepie/idn/idna_convert.class.php (line 967)

Class idna_convert

Class Net_IDNA_php4
Method Summary
Method boolean setParams (mixed $option, [string $param = false])
Methods
setParams (line 985)

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

  • return: true on success, false otherwise
  • access: public
boolean setParams (mixed $option, [string $param = false])
  • mixed $option: Parameter to set (string: single parameter; array of Parameter => Value pairs)
  • string $param: Value to use (if parameter 1 is a string)

Inherited Methods

Inherited From idna_convert

 idna_convert::idna_convert()
 idna_convert::decode()
 idna_convert::encode()
 idna_convert::get_last_error()
 idna_convert::set_parameter()

Documentation generated on Mon, 05 Mar 2007 21:07:34 +0000 by phpDocumentor 1.3.1