note 91985 added to soapserver.setclass
| From: | Matt at osu1 dot php dot net | Date: | Fri, 03 Jul 2009 15:25:05 +0000 |
| Subject: | note 91985 added to soapserver.setclass | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-157887@lists.php.net to get a copy of this message | ||
As expected, using SoapServer::setClass() on a class with private or protected methods does not
expose those methods.
Calling a private/protected method from the SoapClient causes this: E_ERROR "Call to protected
method my_class::myPrivateMethod() from context"
----
Server IP: 69.147.83.197
Probable Submitter: 75.72.78.210
----
Manual Page -- http://www.php.net/manual/en/soapserver.setclass.php
Edit -- https://master.php.net/note/edit/91985
Del: integrated -- https://master.php.net/note/delete/91985/integrated
Del: useless -- https://master.php.net/note/delete/91985/useless
Del: bad code -- https://master.php.net/note/delete/91985/bad+code
Del: spam -- https://master.php.net/note/delete/91985/spam
Del: non-english -- https://master.php.net/note/delete/91985/non-english
Del: in docs -- https://master.php.net/note/delete/91985/in+docs
Del: other reasons-- https://master.php.net/note/delete/91985
Reject -- https://master.php.net/note/reject/91985
Search -- https://master.php.net/manage/user-notes.php