Omeka_View_Helper_GetLoopRecords

class Omeka_View_Helper_GetLoopRecords

Package: View\Helper

getLoopRecords(string $recordsVar, $throwException = 1)

Get records from the view for iteration.

Note that this method will return an empty array if it is set to therecords variable. Use Omeka_View_Helper_HasLoopRecords::hasLoopRecords()to check if records exist.

Parameters:
  • $recordsVar (string) –
  • $throwException (unknown) –
Returns:

array|bool