How might I hint at what $this
is in the context of a Magento template, with a DocBlock?
As an example, head.phtml
within the template/page/html/
directory is an object of Mage_Page_Block_Html_Head
. The method I tried was:
<?php
/**
* @var $this Mage_Page_Block_Html_Head
*/
?>
Unfortunately, it doesn't seem my IDE (NetBeans) is picking up on the hint. So my question is if there is a correct way of doing this so that NetBeans recognizes the hint.