public function getLastPlatformRange()
	{
	    
	    $select = $this->tableGateway->getSql()->select();
	    
	    $select->columns(array(
           'pids_page_id_end_max' => new Expression('max(pids_page_id_end)'),
           'pids_tpl_id_end_max' => new Expression('max(pids_tpl_id_end)'),
           )
        );
	    
	    $resultSet = $this->tableGateway->selectWith($select);
	    
	    return $resultSet;
	}