本文整理匯總了PHP中Zend_Db_Table_Abstract::_setup方法的典型用法代碼示例。如果您正苦於以下問題:PHP Zend_Db_Table_Abstract::_setup方法的具體用法?PHP Zend_Db_Table_Abstract::_setup怎麽用?PHP Zend_Db_Table_Abstract::_setup使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Zend_Db_Table_Abstract
的用法示例。
在下文中一共展示了Zend_Db_Table_Abstract::_setup方法的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: _setup
/**
* Calls other protected methods for individual setup tasks and requirement checks
*
* @return void
*/
protected function _setup()
{
parent::_setup();
$this->_setupPrimaryAssignment();
$this->setLifetime($this->_lifetime);
$this->_checkRequiredColumns();
}
示例2: _setup
protected function _setup()
{
parent::_setup();
$this->_setupFilters();
}
示例3: _setup
protected function _setup()
{
$this->setOptions(array('db' => 'db_coin_portal'));
parent::_setup();
}
示例4: _setup
/**
* Override setup logic.
*
* @return void
* @see Zend_Db_Table_Abstract::_setup()
*/
protected function _setup()
{
parent::_setup();
// Set up primary key in $this->_primary[1]. It will not be set on
// construction, so we do it manually. This way, we can assume that
// $this->_primary[1] is always set!
$this->_setupPrimaryKey();
assert(false === is_null($this->_primary[1]));
}
示例5: _setup
protected function _setup()
{
$this->setOptions(array('db' => self::DATABASE_CONFIG_KEY));
parent::_setup();
}