Exemplo n.º 1
0
Arquivo: db.php Projeto: yeaha/lysine
 /**
  * 获得数据映射关系封装
  *
  * @static
  * @access public
  * @return void
  */
 public static function getMapper()
 {
     return DBMapper::factory(get_called_class());
 }
Exemplo n.º 2
0
 protected function doDelete(\Lysine\DataMapper\Data $data, \Lysine\Service\IService $service = null, $collection = null)
 {
     $service = service('master');
     return parent::doDelete($data, $service);
 }