You are here

function theme_views_fluidgrid_display_item in Views Fluid Grid - jQuery Masonry 7

Same name and namespace in other branches
  1. 6 views_fluidgrid.module \theme_views_fluidgrid_display_item()

Only returns true the first time it's called for an id

Parameters

$id: A uniqe view id.

Return value

bool TRUE for the first time called for a given $id FALSE for each time after that

File

./views_fluidgrid.module, line 90

Code

function theme_views_fluidgrid_display_item($id) {
  $display =& drupal_static(__FUNCTION__);
  return $display[$id] = !isset($display[$id]) ? FALSE : TRUE;
}