...
Parameters | |
---|---|
$mojoTarget | A String containing the Journeydata Objectsuitcase name. |
$mojoXMLmojoData | A String containing the Journeydata Objectsuitcase 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 |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
$theProgram=$t->addControlMessage(array('mojoTarget' => 'mymojo', 'mojoXML' => $dmojodata->saveXML()));>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 |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
$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 |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
$t->deletejourneyobject("V8s");
return $t->result; |