note 43465 added to ref.classobj
| From: | php-general at lists dot php dot net | Date: | Tue, 22 Jun 2004 13:06:53 +0000 |
| Subject: | note 43465 added to ref.classobj | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-71494@lists.php.net to get a copy of this message | ||
is it possible to call function from within a class method, that is declared outside classes ?
function foo() {return 5;}
class class1{
function method1() {
return foo();
}
}
----
Manual Page -- http://www.php.net/manual/en/ref.classobj.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+43465
Delete -- http://master.php.net/manage/user-notes.php?action=delete+43465&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+43465&report=yes
Search -- http://master.php.net/manage/user-notes.php