Class DibiTableInfo


Reflection metadata class for a database table.

DibiObject
   |
   --DibiTableInfo
Copyright: Copyright (c) 2005, 2010 David Grudl
Located: in /libs/DibiDatabaseInfo.php (line 146)
Constructor Summary
public
__construct (IDibiReflector $reflector, $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 171

__construct

public __construct (IDibiReflector $reflector, $info)

Input
IDibiReflector $reflector
$info
Method Details

line 230

getColumn

public DibiColumnInfo getColumn (string $name)

Input
string $name
Output
DibiColumnInfo  

line 214

getColumnNames

public array getColumnNames ()

Output
array of string

line 203

getColumns

public array getColumns ()

Output
array of DibiColumnInfo

line 261

getForeignKeys

public array getForeignKeys ()

Output
array of DibiForeignKeyInfo

line 272

getIndexes

public array getIndexes ()

Output
array of DibiIndexInfo

line 183

getName

public string getName ()

Output
string  

line 283

getPrimaryKey

public DibiIndexInfo getPrimaryKey ()

Output
DibiIndexInfo  

line 249

hasColumn

public bool hasColumn (string $name)

Input
string $name
Output
bool  

line 294

initColumns

protected void initColumns ()

Output
void  

line 331

initForeignKeys

protected void initForeignKeys ()

Output
void  

line 309

initIndexes

protected void initIndexes ()

Output
void  

line 193

isView

public bool isView ()

Output
bool