I have the array variable say $value, and it has the below given array
[navigation] => navigationHistory Object
(
[path] => Array
(
[0] => Array
(
[page] => order_form.php
[mode] => NONSSL
[get] => Array
(
[id] => 31
)
)
)
)
how to echo/access the ‘get’ index of the given array in PHP syntax
Considering
$valueis an array and$value['navigation']is an object:That is, only if
navigationHistory::$pathispublic.If not, see the class definition for
navigationHistoryto see if it doesn’t have a getter for the fieldpath.