Ejemplo n.º 1
0
 public function __construct()
 {
     parent::__construct();
     if (!isset($this->getDbTable()->associatedObjectIDColumn)) {
         throw new Exception('You must set a associatedObjectIDColumn in the associated DbTable class');
     }
 }
Ejemplo n.º 2
0
 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));
     }
 }
Ejemplo n.º 3
0
 public function __construct()
 {
     parent::__construct();
 }