Db/Table/Definition.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Db
- Subpackage
- Table
- Version
- $Id: Definition.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Db_Table_Definition
Package: Zend\Db\Table
Class for SQL table interface.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
Methods

__construct(array | \Zend_Config $options = null) : void__construct()
Parameters
| Name | Type | Description |
|---|---|---|
| $options | array | \Zend_Config |

getTableConfig(string $tableName) : arraygetTableConfig()
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $tableName | string |
| Type | Description |
|---|---|
| array |

hasTableConfig(string $tableName) : boolhasTableConfig()
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $tableName | string |
| Type | Description |
|---|---|
| bool |

removeTableConfig(string $tableName) : voidremoveTableConfig()
Parameters
| Name | Type | Description |
|---|---|---|
| $tableName | string |

setConfig(\Zend_Config $config) : \Zend_Db_Table_DefinitionsetConfig()
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $config | \Zend_Config |
| Type | Description |
|---|---|
| \Zend_Db_Table_Definition |

setOptions(array $options) : \Zend_Db_Table_DefinitionsetOptions()
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $options | array |
| Type | Description |
|---|---|
| \Zend_Db_Table_Definition |

setTableConfig(string $tableName, array $tableConfig) : \Zend_Db_Table_Definition
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $tableName | string | |
| $tableConfig | array |
| Type | Description |
|---|---|
| \Zend_Db_Table_Definition |