public function __construct() { parent::__construct(); if (!isset($this->getDbTable()->associatedObjectIDColumn)) { throw new Exception('You must set a associatedObjectIDColumn in the associated DbTable class'); } }
public function __construct() { parent::__construct(); if (!isset($this->getDbTable()->firstIDColumn)) { throw new Exception('You must set a firstIDColumn in the associated DbTable class: ' . $this->_dbTableClass); } if (!isset($this->getDbTable()->secondIDColumn)) { throw new Exception('You must set a secondIDColumn in the associated DbTable class: ' . $this->_dbTableClass); } if (!isset($this->_firstMapperClass)) { throw new Exception('You must set a _firstMapperClass in the Mapper: ' . get_class($this)); } if (!isset($this->_secondMapperClass)) { throw new Exception('You must set a _secondMapperClass in the Mapper: ' . get_class($this)); } }
public function __construct() { parent::__construct(); }