You declare an interface with the interface keyword.
用interface关键字声明接口。
Listing 6 shows a version of the Configuration class in which the PHP V4 coder has tried to build a rudimentary interface even without the interface keyword.
清单6显示了一个版本的configuration类,在该类中PHP V 4编码人员尝试了构建基本接口而根本不使用interface关键字。
Its examples include how to retrieve albums and photos, upload photos through a customized Web interface, and search for photos by keyword.
本文的示例包括如何检索相册和照片、通过定制的web界面上传照片并按关键字搜索照片。
应用推荐