1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-17 19:37:13 +02:00

- implemented basic meta/reflection support

This commit is contained in:
David Grudl
2008-10-02 17:13:43 +00:00
parent fc69f8f47b
commit b0f155f767
14 changed files with 1223 additions and 170 deletions

View File

@@ -36,8 +36,8 @@ class DibiConnection extends DibiObject
private $config;
/**
* IDibiDriver.
* @var array
* Driver
* @var IDibiDriver
*/
private $driver;
@@ -557,13 +557,13 @@ class DibiConnection extends DibiObject
/**
* Gets a information of the current database.
* Gets a information about the current database.
*
* @return DibiReflection
* @return DibiDatabaseInfo
*/
public function getDibiReflection()
public function getDatabaseInfo()
{
throw new NotImplementedException;
return new DibiDatabaseInfo($this->driver, isset($this->config['database']) ? $this->config['database'] : NULL);
}