Login   Register  
PHP Classes
elePHPant
Icontem

Singleton PDO: Create a singleton instance of PDO class

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-11-07 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,815 All time: 2,017 This week: 1,578Up
Version License PHP version Categories  
spdo 1.0GNU General Public Lice...5.1PHP 5, Databases, Design Patterns
Description Author  

DEPRECATED

This package can be used to create a singleton instance of the PDO class.

It provides a static function that stores a reference of the current object in a static variable. Next time the function is called, it returns a reference to the first object that was created.

Additionally, it can also insert or update a given table row from a list of field values.

Picture of Michal Vrchota
Name: Michal Vrchota <contact>
Classes: 6 packages by
Country: Czech Republic Czech Republic
Age: 28
All time rank: 4566 in Czech Republic Czech Republic
Week rank: 1141 Down10 in Czech Republic Czech Republic Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file SPDO Class main classes
Accessible without login Plain text file spdo.sample.php Example Sample code
Accessible without login HTML file MyPDO.html Doc. PHPDoc MyPDO
Accessible without login HTML file SPDO.html Doc. PHPDoc SPDO

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,815All time:2,017
 This week:0This week:1,578Up
 User Comments (1)