php - read a part of variable $this -
i try debug function in magento, have big , complexe variable $this, inside find data need can't read search data in part named "html"
$html=$this->*mage_core_block_abstract*_transportobject['_data["html"]'];
the first problem * in name not reconized.
in observers use:
$transport = $observer->gettransport(); $html = $transport->gethtml();
this lead me believe modify 2 lines follows:
$transport = $this->gettransport(); var_dump($transport); $html = $transport->gethtml();
then should able read whatever want.
Comments
Post a Comment