Development

Changeset 6724

You must first sign up to be able to contribute.

Changeset 6724

Show
Ignore:
Timestamp:
12/26/07 22:31:43 (1 year ago)
Author:
fabien
Message:

added sfDatabaseManager::getNames() (closes #2723)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/lib/database/sfDatabaseManager.class.php

    r6497 r6724  
    8282 
    8383  /** 
     84   * Returns the names of all database connections. 
     85   * 
     86   * @return array An array containing all database connection names 
     87   */ 
     88  public function getNames() 
     89  { 
     90    return array_keys($this->databases); 
     91  } 
     92 
     93  /** 
    8494   * Executes the shutdown procedure 
    8595   *