src/View/SSViewer_BasicIteratorSupport.php
public function FirstLast()
    {
        if ($this->First() && $this->Last()) {
            return 'first last';
        }
        if ($this->First()) {
            return 'first';
        }
        if ($this->Last()) {
            return 'last';
        }
        return null;
    }
public function FirstLast()
    {
        if ($this->First() && $this->Last()) {
            return 'first last';
        }
        if ($this->First()) {
            return 'first';
        }
        if ($this->Last()) {
            return 'last';
        }
        return null;
    }
public function FirstLast ( ) { if ( $ this -> First ( ) && $ this -> Last ( ) ) { return 'first last' ; } if ( $ this -> First ( ) ) { return 'first' ; } if ( $ this -> Last ( ) ) { return 'last' ; } return null ; }
Returns 'first' or 'last' if this is the first or last object in the set.

@return string|null
Returns first or last if this is the first or last object in the set .