A Mobile Object Journey Object (MOJO) or now known as Data Suitcase is an XML file stored on the Blinkmobile server.
When a MOJO has been transferred to a mobile device it is a Mobile Journey object (MoJO). XSLT code interactions check currency of any required
MoJOs It then processes interactions without going beyond the users mobile device. This essentially caches all the required data on the mobile device increasing speed and decreasing data transmission delays.
$t->addControlMessage( )
A Journey Object (JO) or Data Suitcase is an XML file stored on the Blinkmobile server. This mADL function allows you to add a personal Data Suitcase into a device. You must ensure your source file is correctly formatted XML You can validate your source file at http://validator.w3.org/
Parameters | |
---|---|
$mojoTarget | A String containing the data suitcase name. |
$mojoData | A String containing the data suitcase data. |
Return Values | |
---|---|
$t->result | Structured data / XML is returned to the variable $t |
$t->getjourneyobject( )
Parameters | |
---|---|
$mojoTarget | A String containing the data suitcase name. |
Return Values | |
---|---|
$t->result | Structured data / XML is returned to the variable $t |
$theProgram=$t->getjourneyobject("theProgram"); echo $theProgram;
$t->setjourneyobject( )
Parameters | |
---|---|
$mojoTarget | A String containing the data suitcase name. |
$mojoData | A String of data to add to the data suitcase. |
Return Values | |
---|---|
$t->result | Structured data / XML is returned to the variable $t |
$t->fetch('http://www.v8supercars.com.au/ajax.aspxfeed=TeamDrivers&seriesid=1&seasonid=11'); $t->setJourneyObject('V8s', $t->result); return('MoJo Uploaded Successfully');
$t->deletejourneyobject( )
Parameters | |
---|---|
$mojoTarget | A String containing the Journey Object name. |
Return Values | |
---|---|
$t->result | Structured data / XML is returned to the variable $t |
$t->deletejourneyobject("V8s"); return $t->result;