Fat-Free Framework: DB\Mongo Class Reference

Fat-Free-Framework

Fat-Free Framework  3.1.0 API Reference
DB\Mongo Class Reference

MongoDB wrapper. More...

Inheritance diagram for DB\Mongo:

Public Member Functions

 log ()
 
 drop ()
 
 __construct ($dsn, $dbname, array $options=NULL)
 

Public Attributes

const E_Profiler ='MongoDB profiler is disabled'
 

Detailed Description

MongoDB wrapper.

Constructor & Destructor Documentation

DB\Mongo::__construct (   $dsn,
  $dbname,
array  $options = NULL 
)

Instantiate class

Parameters
$dsnstring
$dbnamestring
$optionsarray

Member Function Documentation

DB\Mongo::drop ( )

Intercept native call to re-enable profiler

Returns
int
DB\Mongo::log ( )

Return MongoDB profiler results

Returns
string

The documentation for this class was generated from the following file:
  • db/mongo.php
Generated on Mon Aug 19 2013 21:28:00 for Fat-Free Framework by   doxygen 1.8.4