About UDDS ClientComplex typesPropertiesMethods
Online booking and paymentsDownload |
udds->getOfferDates ( function )Description :
Obligatory set one offerId or extOfferId in search Params Using this function you can obtain date lists of a chosen offer. Parameters :Optional only in debugging mode by KSI.Example<?php // // example file // require_once ( 'classUdds.php' ) ; $udds = new classUdds ; $udds->myLogin = [ Your UDDS Login ] ; $udds->myConfigId = [ Your UDDS ConfigId ] ; $udds->srvUrl = [ Your UDDS Server ] ; $udds->searchParams = array() ; $udds->searchParams [ 'adults' ] = 2 ; $udds->searchParams [ 'offerId' ] = array ( '25664' ) ; $udds->searchParams [ 'resultsPerPage' ] = 3 ; $data = $udds->getOfferDates () ; print_r ( $data ) ; unset ( $udds ) ; ?> Live mode example:Array ( [offersList] => Array ( ) [offersCount] => 0 [alternativesAllowed] => Array ( ) ) |