Does any know how to access this huge nested array?
Does any know how to access this huge nested array?
开发者_StackOverflow中文版I’m doing a print_r to come up with this result.
Please look on the image attached to see what I’m referring.
For example I would like to access the entity_id in that array.
How would I do that?
Thanks.
extend this class
class Foo extends Mage_Catlog..........
{
public function getEntityId()
{
return $this->_ddlCatch[1]['sales_flat_quote']['entity_id'];
}
}
The "_entity", "_read", and "_dllCache" objects are protected, hence you can't access them. However, it seems someone has found a hack to exploit eval: OO PHP protected properties not available in foreach loop?
精彩评论