Beispiel #1
0
 public function __construct($fqcn)
 {
     parent::__construct($fqcn);
     $this->setPrimary('id');
     //Set id as default primary in case it won't be defined
     $this->map();
 }
Beispiel #2
0
 /**
  * @param string $entityfqcn
  * @param boolean $isMapper
  */
 public function __construct($entityfqcn, $isMapper)
 {
     parent::__construct($entityfqcn);
     $this->_isMapper = $isMapper;
 }