HTMLPurifier_Zipper::next PHP Method

next() public method

Move hole to the next element.
public next ( $t ) : Original
$t Element to fill hole with
return Original contents of new hole.
    public function next($t)
    {
        if ($t !== NULL) {
            array_push($this->front, $t);
        }
        return empty($this->back) ? NULL : array_pop($this->back);
    }