.. _ftotalrecords: ############# total_records ############# :doc:`Db-related functions ` ******* Summary ******* .. include:: /Reference/libraries/globals/summary/total_records.rst .. php:function:: total_records(string $recordType) Return the total number of a given type of record in the database. :param string $recordType: Type of record to count. :returns: integer Number of records of $recordType in the database. ***** Usage ***** .. include:: /Reference/libraries/globals/usage/total_records.rst ******** Examples ******** .. include:: /Reference/libraries/globals/examples/total_records.rst ******** See Also ******** .. include:: /Reference/libraries/globals/see_also/total_records.rst