- 1. Introduction
1.3. IBE stages - 1.2. ORS search parameters
« Previous - 2. Classes
Next »
1.3. IBE stages
There are different stages in IBE depending on content type. To get information what is a current stage call orsxml_api->getStageFromURL()
function or one of the following functions that returns boolean value:
if ( $soapClient->orsxml_api_call( 'isStageRegions', $_GET ) ) echo 'this is REGIONS stage'; if ( $soapClient->orsxml_api_call( 'isStageOffers', $_GET ) ) echo 'this is OFFERS stage'; if ( $soapClient->orsxml_api_call( 'isStageTrips', $_GET ) ) echo 'this is TRIPS stage'; if ( $soapClient->orsxml_api_call( 'isStageBooking', $_GET ) ) echo 'this is BOOKING stage';
- stage 0: sarch : This is reffered as a start stage with no search parameters.
- stage 1: regions : in this stage a list of available regions depending on search parameters is retrieved. This stage is supported for all content types. To get search results call
orsxml_[content-type]_api->regions();
function. - stage 2: offers : in this stage a list of available offers depending on search parameters is retrieved. This stage is supported for (hotel, pauschal and trips) content types. To get search results call
orsxml_[content-type]_api->offers();
function. - stage 3: trips : in this stage a list of available trips (or periods) depending on search parameters is retrieved. This stage is supported for all content types. To get search results call
orsxml_[content-type]_api->trips();
function. - stage 4: booking : in this stage an offer and trip is selected and all that user needs to do now is to enter his/her information (address, email, phone, all the passengers that will travel, ...)
- 1.3. IBE stages
1. Introduction - « Previous
1.2. ORS search parameters - Next »
2. Classes