_setup() protected method

Calls other protected methods for individual tasks, to make it easier for a subclass to override part of the setup logic.
protected _setup ( ) : void
return void
 /**
  * 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();
 }
 protected function _setup()
 {
     parent::_setup();
     $this->_setupFilters();
 }
 protected function _setup()
 {
     $this->setOptions(array('db' => 'db_coin_portal'));
     parent::_setup();
 }
示例#4
0
 /**
  * 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]));
 }
 protected function _setup()
 {
     $this->setOptions(array('db' => self::DATABASE_CONFIG_KEY));
     parent::_setup();
 }