svn: /phpdoc/en/trunk/language/oop5/ overloading.xml

From: Date: Fri, 28 Aug 2009 15:59:28 +0000
Subject: svn: /phpdoc/en/trunk/language/oop5/ overloading.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-4795@lists.php.net to get a copy of this message
danielc Fri, 28 Aug 2009 15:59:28 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=287857 Log: Change literal to function around method names. Changed paths: U phpdoc/en/trunk/language/oop5/overloading.xml Modified: phpdoc/en/trunk/language/oop5/overloading.xml =================================================================== --- phpdoc/en/trunk/language/oop5/overloading.xml 2009-08-28 15:48:06 UTC (rev 287856) +++ phpdoc/en/trunk/language/oop5/overloading.xml 2009-08-28 15:59:28 UTC (rev 287857) @@ -58,14 +58,14 @@ <row> <entry>5.3.0</entry> <entry> - Added <literal>__callStatic()</literal>. + Added <function>__callStatic</function>. Added warning to enforce public visibility and non-static declaration. </entry> </row> <row> <entry>5.1.0</entry> <entry> - Added <literal>__isset()</literal> and <literal>__unset()</literal>. + Added <function>__isset</function> and <function>__unset</function>. </entry> </row> </tbody> @@ -97,29 +97,29 @@ </methodsynopsis> <para> - <literal>__set()</literal> is run when writing data to + <function>__set</function> is run when writing data to inaccessible members. </para> <para> - <literal>__get()</literal> is utilized for reading data from + <function>__get</function> is utilized for reading data from inaccessible members. </para> <para> - <literal>__isset()</literal> is triggered by calling + <function>__isset</function> is triggered by calling <function>isset</function> or <function>empty</function> on inaccessible members. </para> <para> - <literal>__unset()</literal> is invoked when + <function>__unset</function> is invoked when <function>unset</function> is used on inaccessible members. </para> <para> The <varname>$name</varname> argument is the name of the - member being interacted with. The <literal>__set()</literal> + member being interacted with. The <function>__set</function> method's <varname>$value</varname> argument specifies the value the <varname>$name</varname>'ed member should be set to. @@ -134,9 +134,9 @@ <note> <para> - The return value of <literal>__set()</literal> is ignored + The return value of <function>__set</function> is ignored because of the way PHP processes the assignment operator. - Similarly, <literal>__get()</literal> is never called when + Similarly, <function>__get</function> is never called when chaining assignemnts together like this: <literal><![CDATA[ $a = $obj->b = 8; ]]></literal> </para> @@ -262,12 +262,12 @@ </methodsynopsis> <para> - <literal>__call()</literal> is triggered when invoking + <function>__call</function> is triggered when invoking inaccessible methods in an object context. </para> <para> - <literal>__callStatic()</literal> is triggered when invoking + <function>__callStatic</function> is triggered when invoking inaccessible methods in a static context. </para>

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