Omeka_View_Helper_GetLoopRecords

Package: View\Helper

class Omeka_View_Helper_GetLoopRecords

extends Zend_View_Helper_Abstract

Omeka_View_Helper_GetLoopRecords::getLoopRecords($recordsVar, $throwException = true)

Get records from the view for iteration.

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

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

array|bool