Question 


$t->setjourneyobject( )


Answer 


$t->setjourneyobject( )

$t->setjourneyobject("$theJoName", $theData);

Description #

A Journey Object (JO) or Data Suitcase is an XML file stored on the Blinkmobile server. This mADL function allows you store your data from your source into a Data Suitcase You must ensure your source file is correctly formatted XML You can validate your source file at http://validator.w3.org/

Parameters# 

$theJoName - A String containing the Journey Object name
$theData - A String containing the Journey Object data

Return values# 

Structured data / XML is returned to the variable $t


Examples #

$t->fetch('http://www.v8supercars.com.au/ajax.aspxfeed=TeamDrivers&seriesid=1&seasonid=11');
$t->setJourneyObject('V8s', $t->result);
return('MoJo Uploaded Successfully');