Contao\Database\Result::prev PHP Method

prev() public method

Go to the previous row of the current result
public prev ( ) : Result | boolean
return Result | boolean The result object or false if there is no previous row
    public function prev()
    {
        if ($this->intIndex < 1) {
            return false;
        }
        $this->blnDone = false;
        $this->arrCache = $this->resultSet[--$this->intIndex];
        return $this;
    }