PHP Classes

XPDO Database: PDO database access wrapper

Recommend this page to a friend!
  Info   View files Example   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 130 All time: 9,348 This week: 455Up
Version License PHP version Categories
xyluz_database_class 1.0Artistic License5.0PHP 5, Databases
Description 

Author

This class is a PDO database access wrapper.

It read connection configuration from a INI file build a connection string for creating a PDO object.

Additional attributes read from the configuration file can be set after the PDO object is set.

The class will forward the calls to this class object to the actual PDO object with the same function names.

Picture of seyi onifade
  Performance   Level  
Name: seyi onifade <contact>
Classes: 1 package by
Country: Nigeria Nigeria
Age: ???
All time rank: 432941 in Nigeria Nigeria
Week rank: 301 Up8 in Nigeria Nigeria Up

Example

<?php

  
class example extends Database{

     public function
__construct(){
          
$this->getLink();
           echo
$this->connected();
       }
     
   }
 
$example = new example();
 


  Files folder image Files  
File Role Description
Accessible without login Plain text file config.ini Data database access details
Plain text file database.class.php Class database class implementing PDO
Accessible without login Plain text file example.class.php Example using the database class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:130
This week:0
All time:9,348
This week:455Up