Hi,
I have the following object, I need to extract the SysMessage
property.
stdClass Object ( [UnknownConsignm ent] =stdClass Object
( [SysMessage] =Your consignment could not be found on our
system ) )
I could do this:
$object->UnknownConsign ment->SysMessage
However, depending on the condition, the "UnknownConsign ment" property
might be called something else.
Therefore, I need a solution, something like an array:
$object->[0]->SysMessage
Thanks in advance!
I have the following object, I need to extract the SysMessage
property.
stdClass Object ( [UnknownConsignm ent] =stdClass Object
( [SysMessage] =Your consignment could not be found on our
system ) )
I could do this:
$object->UnknownConsign ment->SysMessage
However, depending on the condition, the "UnknownConsign ment" property
might be called something else.
Therefore, I need a solution, something like an array:
$object->[0]->SysMessage
Thanks in advance!
Comment