PHP Classes

File: tests/fixtures/test_xml_complex.xml

Recommend this page to a friend!
  Classes of Lars Moelleken   Simple HTML DOM   tests/fixtures/test_xml_complex.xml   Download  
File: tests/fixtures/test_xml_complex.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Simple HTML DOM
Manipulate HTML elements using DOMDocument
Author: By
Last change: Update of tests/fixtures/test_xml_complex.xml
Date: 1 year ago
Size: 2,964 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> <refentry xml:id="function.mb-encoding-aliases" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>mb_encoding_aliases</refname> <refpurpose>Get aliases of a known encoding type</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type class="union"><type>array</type><type>false</type></type><methodname>mb_encoding_aliases</methodname> <methodparam><type>string</type><parameter>encoding</parameter></methodparam> </methodsynopsis> <para> Returns an array of aliases for a known <parameter>encoding</parameter> type. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <variablelist> <varlistentry> <term><parameter>encoding</parameter></term> <listitem> <para> The encoding type being checked, for aliases. </para> </listitem> </varlistentry> </variablelist> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns a numerically indexed array of encoding aliases on success, &return.falseforfailure; </para> </refsect1> <refsect1 role="errors"> &reftitle.errors; <para> Emits an <constant>E_WARNING</constant> level error if <parameter>encoding</parameter> is unknown. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <example> <title><function>mb_encoding_aliases</function> example</title> <programlisting role="php"> <![CDATA[ <?php $encoding = 'ASCII'; $known_encodings = mb_list_encodings(); if (in_array($encoding, $known_encodings)) { $aliases = mb_encoding_aliases($encoding); print_r($aliases); } else { echo "Unknown ($encoding) encoding.\n"; } ?> ]]> </programlisting> &example.outputs.similar; <screen> <![CDATA[ Array ( [0] => ANSI_X3.4-1968 [1] => iso-ir-6 [2] => ANSI_X3.4-1986 [3] => ISO_646.irv:1991 [4] => US-ASCII [5] => ISO646-US [6] => us [7] => IBM367 [8] => cp367 [9] => csASCII ) ]]> </screen> </example> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>mb_list_encodings</function></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"~/.phpdoc/manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->