S. Is this code correct? I'm trouble shooting a bit of code.
This is my array object
array(
'Author' => array('name'=>'Author','type'=>'xsd:string'),
'Name' => array('name'=>'Name','type'=>'xsd:string'),
'Description' => array('name'=>'Description','type'=>'xsd:string'),
'Text' => array('name'=>'Text','type'=>'xsd:string'),
'VoteTotal' => array('name'=>'VoteTotal','type'=>'xsd:int'),
'VoteCount' => array('name'=>'VoteCount','type'=>'xsd:int')
)
This is me setting values to an instance of that object
function HelloComplexWorld($mycomplextype){
$mycomplextype['Author'] = "John";
$mycomplextype['Name'] = "Wendy Holmes";
$mycomplextype['Description'] = "This is test data";
$mycomplextype['Text'] = "abc...";
$mycomplextype['VoteTotal'] = 2;
$mycomplextype['VoteCount'] = 33;
return $mycomplextype;
}