PHP Classes
elePHPant
Icontem

PHP PDO Connection Factory: Create PDO objects to connect to a database

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2014-06-30 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 490 All time: 5,595 This week: 878Up
Version License PHP version Categories
connection-factory 1.5GNU General Publi...5.1PHP 5, Databases
Description Author

This class can create PDO objects to connect to a database.

It can take an array of parameters to establish a connection with a database using PDO.

The parameters can define values like the database driver name, database host, user, password and database name.

The class may also change individual connection parameters after the class object is created.

In the end it returns an object of the PDO class ready to be used by the application.

Picture of Raul
  Performance   Level  
Name: Raul <contact>
Classes: 7 packages by
Country: Brazil Brazil

  Files folder image Files  
File Role Description
Files folder imageCore (1 directory)
Accessible without login Plain text file test.php Example Testing file

  Files folder image Files  /  Core  
File Role Description
Files folder imagelib (1 directory)

  Files folder image Files  /  Core  /  lib  
File Role Description
Files folder imagedb (1 file)

  Files folder image Files  /  Core  /  lib  /  db  
File Role Description
  Plain text file ConnectionFactory Class Class file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:490
This week:0
All time:5,595
This week:878Up