Re: cvs: phpdoc /en/language namespaces.xml

From: Date: Tue, 11 Dec 2007 23:16:10 +0000
Subject: Re: cvs: phpdoc /en/language namespaces.xml
References: 1  Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-614@lists.php.net to get a copy of this message
+ Inside namespace (say <literal>A::Bi</literal>), calls to unqualified class names are Vim user huh ? ;) On Dec 11, 2007 9:33 PM, Stanislav Malyshev <stas@php.net> wrote: > 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.1phpdoc/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> > > -- > PHP Documentation Commits Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Etienne Kneuss http://www.colder.ch Men never do evil so completely and cheerfully as when they do it from a religious conviction. -- Pascal

« previous php.doc.cvs (#614) next »