~coughphp/coughphp/2.0

« back to all changes in this revision

Viewing changes to as_database/As_DatabaseFactory.class.php

  • Committer: Anthony Bush
  • Date: 2008-08-23 03:35:08 UTC
  • mfrom: (262.1.18 coughphp-release-1.3)
  • Revision ID: anthony@anthonybush.com-20080823033508-uy4yn5pmio6wcetv
Accept release-1.3 branch changes into trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?php
2
2
 
3
3
/**
 
4
 * THIS FILE IS NOT USED BY COUGH -- CoughDatabaseFactory is used instead.  This
 
5
 * is simply part of the original "as_database" module.
 
6
 * 
4
7
 * A simple factory that provides access to an application's database objects.
5
8
 * It should be dynamically initialized, and can hold mixed types of database
6
9
 * objects (e.g. PEAR::DB, AS Database, DatabaseConnector, Persistent).
47
50
 *    
48
51
 *    As_DatabaseFactory::setDatabaseConfigs($dbConfigs);
49
52
 * 
50
 
 * @package dal_as
 
53
 * @package as_database
51
54
 * @author Anthony Bush
52
55
 **/
53
56
class As_DatabaseFactory {