SwatDB/SwatDBRecordsetWrapper.php
public function getLast()
    {
        $last = null;

        if (count($this->objects) > 0) {
            $last = end($this->objects);
        }

        return $last;
    }
public function getLast()
    {
        $last = null;

        if (count($this->objects) > 0) {
            $last = end($this->objects);
        }

        return $last;
    }
public function getLast ( ) { $ last = null ; if ( count ( $ this -> objects ) > 0 ) { $ last = end ( $ this -> objects ) ; } return $ last ; }
Retrieves the last object in this recordset

@return mixed the last object or null if there are no objects in this
recordset.
Retrieves the last object in this recordset