.. _fsetlooprecords: ########################################################################### ``set_loop_records`` — Set records to the view for iteration with loop(). ########################################################################### :doc:`Loop-related functions ` ******* Summary ******* .. include:: /Reference/libraries/globals/summary/set_loop_records.rst .. php:function:: set_loop_records($recordsVar, array $records) Set records to the view for iteration with loop(). :type $recordsVar: string :param $recordsVar: The name of the variable to store the records in. :type $records: array :param $records: The records to store for later looping. ***** Usage ***** .. include:: /Reference/libraries/globals/usage/set_loop_records.rst ******** Examples ******** .. include:: /Reference/libraries/globals/examples/set_loop_records.rst ******** See Also ******** .. include:: /Reference/libraries/globals/see_also/set_loop_records.rst