/**
  * Add the news uid to a global variable to be able to exclude it later
  *
  * @param Tx_News_Domain_Model_News $newsItem current news item
  * @return void
  */
 public function render(Tx_News_Domain_Model_News $newsItem)
 {
     $uid = $newsItem->getUid();
     if (empty($GLOBALS['EXT']['news']['alreadyDisplayed'])) {
         $GLOBALS['EXT']['news']['alreadyDisplayed'] = array();
     }
     $GLOBALS['EXT']['news']['alreadyDisplayed'][$uid] = $uid;
     // Add localized uid as well
     $originalUid = (int) $newsItem->_getProperty('_localizedUid');
     if ($originalUid > 0) {
         $GLOBALS['EXT']['news']['alreadyDisplayed'][$originalUid] = $originalUid;
     }
 }