public function AffectedRowsCount() { if ($this->affectedRowsCount !== false) { return $this->affectedRowsCount; } else { return parent::AffectedRowsCount(); } }