MongoCursor Object 游标类MongoConfig.php配置文件Table.php(mongodb操作数据库类文件)Config.php配置文件复制代码 代码如下:<?phprequire_once ‘Zend/Exception.php’;class Hrs_Mongo_Config{ const VERSION = ‘1.7.0’; const DEFAULT_HOST = ‘localhost’; const DEFAULT_PORT = 27017; private static $host = self::DEFAULT_HOST ;