Omeka_View_Helper_HasLoopRecords

Package: View\Helper

class Omeka_View_Helper_HasLoopRecords

extends Zend_View_Helper_Abstract

Omeka_View_Helper_HasLoopRecords::hasLoopRecords($recordsVar)

Check if records have been set to the view for iteration.

Note that this method will return false if the records variable is set but is an empty array, unlike Omeka_View_Helper_GetLoopRecords::getLoopRecords(), which will return the empty array.

Parameters:
  • $recordsVar (string) –

Returns:

bool