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

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -