private static function setTotalOfPages($limit) { self::$total_of_pages = ceil(self::$total_records / $limit); }