set_loop_records
— Set records to the view for iteration with loop().
Summary
- set_loop_records($recordsVar, array $records)
Set records to the view for iteration with loop().
- Parameters:
$recordsVar (
string
) – The name of the variable to store the records in.$records (
array
) – The records to store for later looping.