Class DibiDatabaseInfo


Reflection metadata class for a database.

DibiObject
   |
   --DibiDatabaseInfo
Copyright: Copyright (c) 2005, 2010 David Grudl
Located: in /libs/DibiDatabaseInfo.php (line 25)
Constructor Summary
public
__construct (IDibiReflector $reflector, $name)
Method Summary
string
getName ()
DibiTableInfo
getTable (string $name)
array
array
bool
hasTable (string $name)
protected void
init ()
Methods Inherited From DibiObject
DibiObject::extensionMethod(), DibiObject::getClass(), DibiObject::getReflection(), DibiObject::__call(), DibiObject::__callStatic(), DibiObject::__get(), DibiObject::__isset(), DibiObject::__set(), DibiObject::__unset()

Constructor Details

line 38

__construct

public __construct (IDibiReflector $reflector, $name)

Input
IDibiReflector $reflector
$name
Method Details

line 49

getName

public string getName ()

Output
string  

line 86

getTable

public DibiTableInfo getTable (string $name)

Input
string $name
Output
DibiTableInfo  

line 70

getTableNames

public array getTableNames ()

Output
array of string

line 59

getTables

public array getTables ()

Output
array of DibiTableInfo

line 105

hasTable

public bool hasTable (string $name)

Input
string $name
Output
bool  

line 117

init

protected void init ()

Output
void