mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
Some typos.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@28228 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
6cbc7c98b0
commit
1d9e0405ca
1 changed files with 5 additions and 13 deletions
|
@ -602,7 +602,7 @@ xml_parser_free($xml_parser);
|
|||
<refentry id="function.xml-set-object">
|
||||
<refnamediv>
|
||||
<refname>xml_set_object</refname>
|
||||
<refpurpose>Use XML Parser withing an object</refpurpose>
|
||||
<refpurpose>Use XML Parser within an object</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
|
@ -614,9 +614,9 @@ xml_parser_free($xml_parser);
|
|||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
This function makes <parameter>parser</parameter> useable from
|
||||
within <parameter>object</parameter>. All callback functions
|
||||
settet via <function>xml_set_element_handler</function> etc are
|
||||
This function allows to use <parameter>parser</parameter> inside
|
||||
<parameter>object</parameter>. All callback functions could be
|
||||
set with <function>xml_set_element_handler</function> etc and
|
||||
assumed to be methods of <parameter>object</parameter>.
|
||||
</para>
|
||||
<programlisting role="php">
|
||||
|
@ -652,15 +652,7 @@ function tag_close($parser,$tag) {
|
|||
$xml_parser = new xml();
|
||||
$xml_parser->parse("<A ID=\"hallo\">PHP</A>");
|
||||
?>
|
||||
</programlisting>
|
||||
<para>
|
||||
<note>
|
||||
<para>
|
||||
<function>xml_set_object</function> handling was added in PHP
|
||||
4.0.
|
||||
</para>
|
||||
</note>
|
||||
</para>
|
||||
</programlisting>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
|
Loading…
Reference in a new issue