RemexHtml/TreeBuilder/ActiveFormattingElements.php
private function removeFromNoahList( Element $elt ) {
		$table =& $this->noahTableStack[ count( $this->noahTableStack ) - 1 ];
		$key = $elt->getNoahKey();
		$noahElt = $table[$key];
		if ( $noahElt === $elt ) {
			if ( $noahElt->nextNoah ) {
				$table[$key] = $noahElt->nextNoah;
				$noahElt->nextNoah = null;
			} else {
				unset( $table[$key] );
			}
		} else {
			do {
				$prevNoahElt = $noahElt;
				$noahElt = $prevNoahElt->nextNoah;
				if ( $noahElt === $elt ) {
					// Found it, unlink
					$prevNoahElt->nextNoah = $elt->nextNoah;
					$elt->nextNoah = null;
					break;
				}
			} while ( $noahElt );
		}
	}
private function removeFromNoahList( Element $elt ) {
		$table =& $this->noahTableStack[ count( $this->noahTableStack ) - 1 ];
		$key = $elt->getNoahKey();
		$noahElt = $table[$key];
		if ( $noahElt === $elt ) {
			if ( $noahElt->nextNoah ) {
				$table[$key] = $noahElt->nextNoah;
				$noahElt->nextNoah = null;
			} else {
				unset( $table[$key] );
			}
		} else {
			do {
				$prevNoahElt = $noahElt;
				$noahElt = $prevNoahElt->nextNoah;
				if ( $noahElt === $elt ) {
					// Found it, unlink
					$prevNoahElt->nextNoah = $elt->nextNoah;
					$elt->nextNoah = null;
					break;
				}
			} while ( $noahElt );
		}
	}
private function removeFromNoahList ( Element $ elt ) { $ table = & $ this -> noahTableStack [ count ( $ this -> noahTableStack ) - 1 ] ; $ key = $ elt -> getNoahKey ( ) ; $ noahElt = $ table [ $ key ] ; if ( $ noahElt === $ elt ) { if ( $ noahElt -> nextNoah ) { $ table [ $ key ] = $ noahElt -> nextNoah ; $ noahElt -> nextNoah = null ; } else { unset ( $ table [ $ key ] ) ; } } else { do { $ prevNoahElt = $ noahElt ; $ noahElt = $ prevNoahElt -> nextNoah ; if ( $ noahElt === $ elt ) { // Found it, unlink $ prevNoahElt -> nextNoah = $ elt -> nextNoah ; $ elt -> nextNoah = null ; break ; } } while ( $ noahElt ) ; } }
Remove an element from its Noah's Ark bucket.

@param Element $elt
Remove an element from its Noah s Ark bucket .