/**
* Displays the total number of records
*
* */
public function getTotalOfRecords()
{
// Returns the total number of records in paging
if (Pagination::getPaging() == TRUE) {
return Pagination::getTotalOfRecords();
} else {
return count(self::$hasRecords);
}
}