I have google thoroughly, and cannot find the solution on how to discard the second dimension array in PHP leaving just the first dimension array.
From:
array(
['type'] => 'func'
['function'] => 'Model_Statement_Transaction::sum'
['parameters'] =>
stdClass(
statement_id = 8586
transaction_type = 'raw_flour-import'
column = 'quantity'
)
)
To:
array(
['type'] => 'func'
['function'] => 'Model_Statement_Transaction::sum'
['parameters'] => ''
)
unsetit.stdClassinto a zero-length string here.