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 license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Db
- Subpackage
- Table
- Version
- $Id$
\Zend_Db_Table_Definition
Package: Zend_Db\Table
Class for SQL table interface.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 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) : array
getTableConfig()
Parameters
Returns
Name | Type | Description |
---|---|---|
$tableName | string |
Type | Description |
---|---|
array |
hasTableConfig(string $tableName) : bool
hasTableConfig()
Parameters
Returns
Name | Type | Description |
---|---|---|
$tableName | string |
Type | Description |
---|---|
bool |
removeTableConfig(string $tableName) : void
removeTableConfig()
Parameters
Name | Type | Description |
---|---|---|
$tableName | string |
setConfig(\Zend_Config $config) : \Zend_Db_Table_Definition
setConfig()
Parameters
Returns
Name | Type | Description |
---|---|---|
$config | \Zend_Config |
Type | Description |
---|---|
\Zend_Db_Table_Definition |
setOptions(array $options) : \Zend_Db_Table_Definition
setOptions()
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 |