Contao\Model\Collection::prev PHP Méthode

prev() public méthode

Go to the previous row
public prev ( ) : static | false
Résultat static | false The model collection object or false if there is no previous row
    public function prev()
    {
        if ($this->intIndex < 1) {
            return false;
        }
        --$this->intIndex;
        return $this;
    }