public function __construct() { parent::__construct(); if ($this->_pkCache) { $this->cacheKey = sprintf(TXConfig::getConfig('pkCache'), substr(get_called_class(), 0, -3)); } }
/** * 删除数据 * @return bool */ public function delete() { return $this->DAO->delete($this); }
/** * * @return string */ public function __toLogger() { return ['DAO' => $this->DAO->getDAO(), 'conds' => $this->conds]; }