note 107042 added to language.oop5.magic
| From: | ixdude at osu1 dot php dot net | Date: | Sat, 31 Dec 2011 10:34:27 +0000 |
| Subject: | note 107042 added to language.oop5.magic | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-185268@lists.php.net to get a copy of this message | ||
@osbertv at yahoo dot com because that's syntax for calling method. if you want to invoke class
'a', just create method 'a' in class 'b' that will invoke object of
class 'a' using variable, eg
<?php
public function a() {
$a = $this->a;
return $a();
}
?>
----
Server IP: 69.147.83.197
Probable Submitter: 93.175.124.147
----
Manual Page -- http://www.php.net/manual/en/language.oop5.magic.php
Edit -- https://master.php.net/note/edit/107042
Del: integrated -- https://master.php.net/note/delete/107042/integrated
Del: useless -- https://master.php.net/note/delete/107042/useless
Del: bad code -- https://master.php.net/note/delete/107042/bad+code
Del: spam -- https://master.php.net/note/delete/107042/spam
Del: non-english -- https://master.php.net/note/delete/107042/non-english
Del: in docs -- https://master.php.net/note/delete/107042/in+docs
Del: other reasons-- https://master.php.net/note/delete/107042
Reject -- https://master.php.net/note/reject/107042
Search -- https://master.php.net/manage/user-notes.php