Notes
Friday May 02, 2003
Private methods and private classes
PHPObject v1.4 enforces the rule that private methods of remote object cannot be executed by Flash. Private methods are identified by their underscore "_" prefix in their names. Trying to execute a private method will return a "method not available" error.
If you have PHP classes that are used only internally (eg. by another PHP class), you could rename the files with an underscore prefix. The gateway will deny access to classes with underscore prefixes. Trying to create a PHPObject and linking to a private class will return a "service not available" error.
Posted by sunny at May 2, 2003 12:00 PM
|
Comments
Post a comment
|
