Fat-Free Framework  3.2.2  Overview Class List Hierarchy
Public Member Functions | Public Attributes | Protected Attributes | List of all members
DB\Mongo Class Reference

MongoDB wrapper. More...

+ Inheritance diagram for DB\Mongo:

Public Member Functions

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

Public Attributes

 $dsn
 Data source name.
 
 $log
 MongoDB log.
 
const E_Profiler ='MongoDB profiler is disabled'
 

Protected Attributes

 $uuid
 UUID.
 

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::dsn ( )

Return data source name

Returns
string
DB\Mongo::log ( )

Return MongoDB profiler results

Returns
string
DB\Mongo::uuid ( )

Return UUID

Returns
string

The documentation for this class was generated from the following file: