Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion language/oop5/basic.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class SimpleClass
<para>
The pseudo-variable <varname>$this</varname> is available when a
method is called from within an object context.
<varname>$this</varname> is a reference to the calling object.
<varname>$this</varname> is the value of the calling object.
</para>
<warning>
<para>
Expand Down
2 changes: 1 addition & 1 deletion language/oop5/properties.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<para>
The pseudo-variable <varname>$this</varname> is available inside
any class method when that method is called from within an object
context. <varname>$this</varname> is a reference to the calling
context. <varname>$this</varname> is the value of the calling
object (usually the object to which the method belongs, but
possibly another object, if the method is called
<link linkend="language.oop5.static">statically</link> from the context
Expand Down
8 changes: 0 additions & 8 deletions language/references.xml
Original file line number Diff line number Diff line change
Expand Up @@ -529,14 +529,6 @@ $var =& $GLOBALS["var"];
won't unset the global variable.
</simpara>
</sect2>

<sect2 xml:id="references.this">
<title><literal>$this</literal></title>
<simpara>
In an object method, <varname>$this</varname> is always a reference
to the called object.
</simpara>
</sect2>
</sect1>

</chapter>
Expand Down