php代码: 代码如下: /* /flashservices/services/Catalog.php */ class Catalog { var $products_array = array();
// Constructor: Contains the list of methods available to the gateway function Catalog() { $this->methodTable = array ( "getProducts" => array ( "description" => "Get list of products", "access" => "remote", "arguments" => "" // arguments could be optional, not tested ) ); // end methodTable }