note 15745 added to ref.classobj

From: Date: Sat, 29 Sep 2001 02:10:06 +0000
Subject: note 15745 added to ref.classobj
Groups: php.notes 
Request: Send a blank email to php-notes+get-18430@lists.php.net to get a copy of this message
I spent 20 minutes or so trying to figure this out, maybe someone else has the same problem. To access a class' function from within the class you would have to say $this->functionname(params), rather than just functionname(params) like in other programming languages. Hope this helps -- http://www.php.net/manual/en/ref.classobj.php http://master.php.net/manage/user-notes.php?action=edit+15745 http://master.php.net/manage/user-notes.php?action=delete+15745 http://master.php.net/manage/user-notes.php?action=reject+15745

« previous php.notes (#18430) next »