/** * any translation items that were remembered in the buffer are now flushed! */ public function flushBuffer() { $result = ""; if ($this->_offerTranslationLink) { foreach (self::$_buffer as $tr_link_string) { $result .= $tr_link_string; } } // make the buffer empty self::$_buffer = array(); return $result; }