Interface

DBMSFactory

Package: IO\DB\factory Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Loic ROUCHON horn@phpboost.com Version: PHPBoost 5.2 - last update: 2014 12 22 Since: PHPBoost 3.0 - 2009 11 10 Located at: io/db/factory/DBMSFactory.class.php

This factory provides the

DBConnection

and the

SQLQuerier

for the right sgbd.

Direct known implementers
MySQLDBFactory, PDOMySQLDBFactory
Methods summary
public DBConnection
# new_db_connection( )

returns the opened

DBConnection

. If not yet opened, opens it

public SQLQuerier
# new_sql_querier( DBConnection $db_connection )

returns a new

SQLQuerier

instance

public DBMSUtils
# new_dbms_util( SQLQuerier $querier )

returns a new

DBMSUtils

instance