mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
added mb_get_info() and removed experimental sentence.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@67167 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
6dffa3d014
commit
144d5e2005
3 changed files with 48 additions and 40 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.26 $ -->
|
||||
<!-- $Revision: 1.27 $ -->
|
||||
<reference id="ref.fdf">
|
||||
<title>Forms Data Format functions</title>
|
||||
<titleabbrev>FDF</titleabbrev>
|
||||
|
@ -306,7 +306,9 @@ unlink("outtest.fdf");
|
|||
<funcprototype>
|
||||
<funcdef>string <function>fdf_next_field_name</function></funcdef>
|
||||
<paramdef>int <parameter>fdf_document</parameter></paramdef>
|
||||
<paramdef>string <parameter>fieldname</parameter></paramdef>
|
||||
<paramdef>string
|
||||
<parameter><optional>fieldname</optional></parameter>
|
||||
</paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
|
@ -316,8 +318,8 @@ unlink("outtest.fdf");
|
|||
if the second paramter is &null;.</para>
|
||||
|
||||
<para>
|
||||
See also <function>fdf_set_field</function>,
|
||||
<function>fdf_get_field</function>.</para>
|
||||
See also <function>fdf_set_value</function>,
|
||||
<function>fdf_get_value</function>.</para>
|
||||
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
|
@ -1,20 +1,13 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.18 $ -->
|
||||
<!-- $Revision: 1.19 $ -->
|
||||
<reference id="ref.mbstring">
|
||||
<title>Multi-Byte String Functions</title>
|
||||
<titleabbrev>
|
||||
Multi-Byte String
|
||||
</titleabbrev>
|
||||
<partintro>
|
||||
&warn.experimental;
|
||||
<sect1 id="mb-intro">
|
||||
<title>Introduction</title>
|
||||
<warning>
|
||||
<simpara>
|
||||
This module is EXPERIMENTAL. Function name/API is subject to
|
||||
change. Current conversion filter supports Japanese only.
|
||||
</simpara>
|
||||
</warning>
|
||||
<para>
|
||||
There are many languages in which all characters can be expressed
|
||||
by single byte. Multi-byte character codes are used to express
|
||||
|
@ -547,7 +540,6 @@ mbstring.substitute_character = none
|
|||
<parameter><optional>language</optional></parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
&warn.experimental.func;
|
||||
<para>
|
||||
<function>mb_language</function> sets language. If
|
||||
<parameter>language</parameter> is omitted, it returns current
|
||||
|
@ -600,7 +592,6 @@ mbstring.substitute_character = none
|
|||
</paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
&warn.experimental.func;
|
||||
<para>
|
||||
<function>mb_parse_str</function> parses GET/POST/COOKIE data and
|
||||
sets global variables. Since PHP does not provide raw POST/COOKIE
|
||||
|
@ -643,7 +634,6 @@ mbstring.substitute_character = none
|
|||
<parameter><optional>encoding</optional></parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
&warn.experimental.func;
|
||||
<para>
|
||||
<function>mb_internal_encoding</function> sets internal character
|
||||
encoding to <parameter>encoding</parameter> If parameter is
|
||||
|
@ -702,7 +692,6 @@ echo mb_internal_encoding();
|
|||
</paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
&warn.experimental.func;
|
||||
<simpara>
|
||||
<function>mb_http_input</function> returns result of HTTP input
|
||||
character encoding detection.
|
||||
|
@ -741,7 +730,6 @@ echo mb_internal_encoding();
|
|||
</paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
&warn.experimental.func;
|
||||
<para>
|
||||
If <parameter>encoding</parameter> is set,
|
||||
<function>mb_http_output</function> sets HTTP output character
|
||||
|
@ -781,7 +769,6 @@ echo mb_internal_encoding();
|
|||
</paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
&warn.experimental.func;
|
||||
<para>
|
||||
<function>mb_detect_order</function> sets automatic character
|
||||
encoding detection order to <parameter>encoding-list</parameter>.
|
||||
|
@ -883,7 +870,6 @@ echo implode(", ", mb_detect_order());
|
|||
</paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
&warn.experimental.func;
|
||||
<para>
|
||||
<function>mb_substitute_character</function> specifies
|
||||
substitution character when input character encoding is invalid
|
||||
|
@ -955,7 +941,6 @@ echo mb_substitute_character();
|
|||
<paramdef>int <parameter>status</parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
&warn.experimental.func;
|
||||
<para>
|
||||
<function>mb_output_handler</function> is
|
||||
<function>ob_start</function> callback
|
||||
|
@ -1029,7 +1014,6 @@ ob_start("mb_output_handler");
|
|||
<paramdef>string <parameter>encoding</parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
&warn.experimental.func;
|
||||
<para>
|
||||
<function>mb_preferred_mime_name</function> returns MIME
|
||||
<literal>charset</literal> string for character encoding
|
||||
|
@ -1068,7 +1052,6 @@ header("Content-Type: text/html; charset=" . mb_preferred_mime_name($outputenc))
|
|||
</paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
&warn.experimental.func;
|
||||
<para>
|
||||
<function>mb_strlen</function> returns number of characters in
|
||||
string <parameter>str</parameter> having character encoding
|
||||
|
@ -1109,7 +1092,6 @@ header("Content-Type: text/html; charset=" . mb_preferred_mime_name($outputenc))
|
|||
</paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
&warn.experimental.func;
|
||||
<para>
|
||||
<function>mb_strpos</function> returns the numeric position of
|
||||
the first occurrence of <parameter>needle</parameter> in the
|
||||
|
@ -1166,7 +1148,6 @@ header("Content-Type: text/html; charset=" . mb_preferred_mime_name($outputenc))
|
|||
</paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
&warn.experimental.func;
|
||||
<para>
|
||||
<function>mb_strrpos</function> returns the numeric position of
|
||||
the last occurrence of <parameter>needle</parameter> in the
|
||||
|
@ -1219,7 +1200,6 @@ header("Content-Type: text/html; charset=" . mb_preferred_mime_name($outputenc))
|
|||
</paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
&warn.experimental.func;
|
||||
<para>
|
||||
<function>mb_substr</function> returns the portion of
|
||||
<parameter>str</parameter> specified by the
|
||||
|
@ -1269,7 +1249,6 @@ header("Content-Type: text/html; charset=" . mb_preferred_mime_name($outputenc))
|
|||
</paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
&warn.experimental.func;
|
||||
<para>
|
||||
<function>mb_strcut</function> returns the portion of
|
||||
<parameter>str</parameter> specified by the
|
||||
|
@ -1316,7 +1295,6 @@ header("Content-Type: text/html; charset=" . mb_preferred_mime_name($outputenc))
|
|||
</paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
&warn.experimental.func;
|
||||
<para>
|
||||
<function>mb_strwidth</function> returns width of string
|
||||
<parameter>str</parameter>.
|
||||
|
@ -1370,7 +1348,6 @@ header("Content-Type: text/html; charset=" . mb_preferred_mime_name($outputenc))
|
|||
</paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
&warn.experimental.func;
|
||||
<para>
|
||||
<function>mb_strimwidth</function> truncates string
|
||||
<parameter>str</parameter> to specified
|
||||
|
@ -1426,7 +1403,6 @@ $str = mb_strimwidth($str, 0, 40, "..>");
|
|||
</paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
&warn.experimental.func;
|
||||
<para>
|
||||
<function>mb_convert_encoding</function> converts
|
||||
character encoding of string <parameter>str</parameter> from
|
||||
|
@ -1483,7 +1459,6 @@ $str = mb_convert_encoding($str, "EUC-JP", "auto");
|
|||
</paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
&warn.experimental.func;
|
||||
<para>
|
||||
<function>mb_detect_encoding</function> detects character
|
||||
encoding in string <parameter>str</parameter>. It returns
|
||||
|
@ -1546,7 +1521,6 @@ echo mb_detect_encoding($str, $ary);
|
|||
</paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
&warn.experimental.func;
|
||||
<para>
|
||||
<function>mb_convert_kana</function> performs "han-kaku" -
|
||||
"zen-kaku" conversion for string <parameter>str</parameter>. It
|
||||
|
@ -1629,7 +1603,6 @@ $str = mb_convert_kana($str, "KVa");
|
|||
</paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
&warn.experimental.func;
|
||||
<para>
|
||||
<function>mb_encode_mimeheader</function> converts string
|
||||
<parameter>str</parameter> to encoded-word for header field.
|
||||
|
@ -1682,7 +1655,6 @@ echo $addr;
|
|||
<paramdef>string <parameter>str</parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
&warn.experimental.func;
|
||||
<para>
|
||||
<function>mb_decode_mimeheader</function> decodes encoded-word
|
||||
string <parameter>str</parameter> in MIME header.
|
||||
|
@ -1711,7 +1683,6 @@ echo $addr;
|
|||
<paramdef>mixed <parameter>vars</parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
&warn.experimental.func;
|
||||
<para>
|
||||
<function>mb_convert_variables</function> convert
|
||||
character encoding of variables <parameter>vars</parameter> in
|
||||
|
@ -1772,7 +1743,6 @@ $inputenc = mb_convert_variables($interenc, "ASCII,UTF-8,SJIS-win", $post1, $pos
|
|||
</paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
&warn.experimental.func;
|
||||
<para>
|
||||
<function>mb_encode_numericentity</function> converts
|
||||
specified character codes in string <parameter>str</parameter>
|
||||
|
@ -1857,7 +1827,6 @@ $str = mb_encode_numericentity($str, $convmap, "sjis-win");
|
|||
</paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
&warn.experimental.func;
|
||||
<para>
|
||||
Convert numeric string reference of string
|
||||
<parameter>str</parameter> in specified block to character. It
|
||||
|
@ -1917,7 +1886,6 @@ $convmap = array (
|
|||
</paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
&warn.experimental.func;
|
||||
<para>
|
||||
<function>mb_send_mail</function> sends email. Headers and
|
||||
message are converted and encoded according to
|
||||
|
@ -1959,6 +1927,43 @@ $convmap = array (
|
|||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<refentry id="function.mb-get-info">
|
||||
<refnamediv>
|
||||
<refname>mb_get_info</refname>
|
||||
<refpurpose>Get internal settings of mbstring</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>string <function>mb_get_info</function></funcdef>
|
||||
<paramdef>string
|
||||
<parameter><optional>type</optional></parameter>
|
||||
</paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
&warn.experimental.func;
|
||||
<simpara>
|
||||
<function>mb_get_info</function> returns internal setting
|
||||
parameter of mbstring.
|
||||
</simpara>
|
||||
<para>
|
||||
If <parameter>type</parameter> isn't specified or is specified to
|
||||
"all", an array having the elements "internal_encoding",
|
||||
"http_output", "http_input", "func_overload" will be returned.
|
||||
</para>
|
||||
<para>
|
||||
If <parameter>type</parameter> is specified for "http_output",
|
||||
"http_input", "internal_encoding", "func_overload",
|
||||
the specified setting parameter will be returned.
|
||||
</para>
|
||||
<para>
|
||||
See also <function>mb_internal_encoding</function>,
|
||||
<function>mb_http_output</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
</reference>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.75 $ -->
|
||||
<!-- $Revision: 1.76 $ -->
|
||||
<reference id="ref.pdf">
|
||||
<title>PDF functions </title>
|
||||
<titleabbrev>PDF</titleabbrev>
|
||||
|
@ -1239,14 +1239,15 @@ pdf_delete($pdf);
|
|||
<funcdef>int <function>pdf_findfont</function></funcdef>
|
||||
<paramdef>int <parameter>pdf object</parameter></paramdef>
|
||||
<paramdef>string <parameter>fontname</parameter></paramdef>
|
||||
<paramdef>string <parameter>encoding^</parameter></paramdef>
|
||||
<paramdef>string <parameter>encoding</parameter></paramdef>
|
||||
<paramdef>int <parameter>embed</parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
Prepare a font for later use with <function>pdf_setfont</function>.
|
||||
The metrics will be loaded, and if embed is nonzero, the font file
|
||||
will be checked, but not yet used. Encoding is one of "builtin",
|
||||
will be checked, but not yet
|
||||
used. <parameter>encoding</parameter> is one of "builtin",
|
||||
"macroman", "winansi", "host", or a user-defined encoding name,
|
||||
or the name of a CMap.
|
||||
</para>
|
||||
|
|
Loading…
Reference in a new issue