HTMLPurifier_Zipper::prev PHP Method

prev() public method

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