/** * Return the number of rows affected by the last SQL * statement performed. * * @return int */ protected final function rowCount() { if ($this->database === NULL) { return $this->errorMessage("No database connection found."); } return $this->database->rowCount(); }