public function is_first_slot_on_page($slotnumber) {
        if ($slotnumber == 1) {
            return true;
        }
        return $this->slotsinorder[$slotnumber]->page != $this->slotsinorder[$slotnumber - 1]->page;
    }
public function is_first_slot_on_page($slotnumber) {
        if ($slotnumber == 1) {
            return true;
        }
        return $this->slotsinorder[$slotnumber]->page != $this->slotsinorder[$slotnumber - 1]->page;
    }
public function is_first_slot_on_page ( $ slotnumber ) { if ( $ slotnumber == 1 ) { return true ; } return $ this -> slotsinorder [ $ slotnumber ] -> page != $ this -> slotsinorder [ $ slotnumber - 1 ] -> page ; }
Is this slot the first one on its page?
@param int $slotnumber the index of the slot in question.
@return bool whether this slot the first one on its page.
Is this slot the first one on its page?