Then, code the MyPlugin class, as shown in Listing 13.
接下来,编写 MyPlugin 类的代码,如 清单13所示。
For example, if the plug-in directory is called myplugin, name the file myplugin.php.
例如,如果插件目录的名称是myplugin,那么此文件就应该命名为myplugin . php。
When the Web application starts, it displays a message saying "MyPlugin starting" and sets the system's proxy and port.
当启动 Web 应用程序时,会显示一条消息说“MyPlugin starting”,并设置系统的proxy 和 port 属性。
应用推荐