cvs: phpdoc /en/language namespaces.xml
| From: | Stanislav Malyshev | Date: | Tue, 11 Dec 2007 20:33:48 +0000 |
| Subject: | cvs: phpdoc /en/language namespaces.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-613@lists.php.net to get a copy of this message | ||
stas Tue Dec 11 20:33:48 2007 UTC
Modified files:
/phpdoc/en/language namespaces.xml
Log:
small text fixes
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/namespaces.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/language/namespaces.xml
diff -u phpdoc/en/language/namespaces.xml:1.1 phpdoc/en/language/namespaces.xml:1.2
--- phpdoc/en/language/namespaces.xml:1.1 Thu Nov 15 18:42:22 2007
+++ phpdoc/en/language/namespaces.xml Tue Dec 11 20:33:48 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<chapter xml:id="language.namespaces" xmlns="http://docbook.org/ns/docbook"
version="1.1">
<title>Namespaces</title>
@@ -293,7 +293,7 @@
<orderedlist>
<listitem>
<simpara>
- It looks for a function from the current namespace :
+ It looks for a function from the current namespace:
<literal>A::B::foo()</literal>.
</simpara>
</listitem>
@@ -311,27 +311,26 @@
</listitem>
<listitem>
<simpara>
- Inside namespace (say A::B), calls to unqualified class names are
+ Inside namespace (say <literal>A::Bi</literal>), calls to unqualified class names
are
resolved at run-time. Here is how a call to
<code>new C()</code> is resolved:
</simpara>
<orderedlist>
<listitem>
<simpara>
- It looks for a class from the current namespace :
- <literal>A::B::C()</literal>.
+ It looks for a class from the current namespace:
+ <literal>A::B::C</literal>.
</simpara>
</listitem>
<listitem>
<simpara>
It tries to find and call the <emphasis>internal</emphasis> class
- <literal>C()</literal>.
+ <literal>C</literal>.
</simpara>
</listitem>
<listitem>
<simpara>
- It attemts to autoload <literal>A::B::C()</literal>.
- <literal>C()</literal>.
+ It attemts to autoload <literal>A::B::C</literal>.
</simpara>
</listitem>
</orderedlist>