Contao\Database\Result::last PHP 메소드

last() 공개 메소드

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