Class DibiTableInfo


Reflection metadata class for a database table.

DibiObject
   |
   --DibiTableInfo
Copyright: Copyright (c) 2005, 2010 David Grudl
Located: in /libs/DibiDatabaseInfo.php (line 132)
Constructor Summary
public
__construct (IDibiDriver $driver, $info)
Method Summary
DibiColumnInfo
getColumn (string $name)
array
array
array
array
string
getName ()
DibiIndexInfo
bool
hasColumn (string $name)
protected void
protected void
protected void
bool
isView ()
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 157

__construct

public __construct (IDibiDriver $driver, $info)

Input
IDibiDriver $driver
$info
Method Details

line 216

getColumn

public DibiColumnInfo getColumn (string $name)

Input
string $name
Output
DibiColumnInfo  

line 200

getColumnNames

public array getColumnNames ()

Output
array of string

line 189

getColumns

public array getColumns ()

Output
array of DibiColumnInfo

line 245

getForeignKeys

public array getForeignKeys ()

Output
array of DibiForeignKeyInfo

line 256

getIndexes

public array getIndexes ()

Output
array of DibiIndexInfo

line 169

getName

public string getName ()

Output
string  

line 267

getPrimaryKey

public DibiIndexInfo getPrimaryKey ()

Output
DibiIndexInfo  

line 234

hasColumn

public bool hasColumn (string $name)

Input
string $name
Output
bool  

line 278

initColumns

protected void initColumns ()

Output
void  

line 315

initForeignKeys

protected void initForeignKeys ()

Output
void  

line 293

initIndexes

protected void initIndexes ()

Output
void  

line 179

isView

public bool isView ()

Output
bool