app/code/community/Aoe/TemplateHints/Model/Renderer/Opentip.php
public function render(Mage_Core_Block_Abstract $block, $blockContent, $id) {

        $helper = Mage::helper('aoe_templatehints/blockInfo'); /* @var $helper Aoe_TemplateHints_Helper_BlockInfo */

        $path = $helper->getBlockPath($block);
        $blockInfo = $helper->getBlockInfo($block);

        $this->aStatistics[$blockInfo['cache-status']]++;

        $wrappedHtml = sprintf(
            '<div id="tpl-hint-%1$s" class="%2$s">
                %3$s
                <div id="tpl-hint-%1$s-title" style="display: none;">%4$s</div>
                <div id="tpl-hint-%1$s-infobox" style="display: none;">%5$s</div>
            </div>',
            $id,
            $this->getHintClass() . ' ' . $blockInfo['cache-status'],
            $blockContent,
            $helper->renderTitle($blockInfo),
            $this->renderBox($blockInfo, $path)
        );

        $showStatistics = false; // experimental (want to add some styling here...)
        if ($showStatistics && $blockInfo['name'] == 'core_profiler') {
            $wrappedHtml .= '<pre>'.print_r($this->aStatistics, true).'</pre>';
        }

        return $wrappedHtml;
    }
public function render(Mage_Core_Block_Abstract $block, $blockContent, $id) {

        $helper = Mage::helper('aoe_templatehints/blockInfo'); /* @var $helper Aoe_TemplateHints_Helper_BlockInfo */

        $path = $helper->getBlockPath($block);
        $blockInfo = $helper->getBlockInfo($block);

        $this->aStatistics[$blockInfo['cache-status']]++;

        $wrappedHtml = sprintf(
            '<div id="tpl-hint-%1$s" class="%2$s">
                %3$s
                <div id="tpl-hint-%1$s-title" style="display: none;">%4$s</div>
                <div id="tpl-hint-%1$s-infobox" style="display: none;">%5$s</div>
            </div>',
            $id,
            $this->getHintClass() . ' ' . $blockInfo['cache-status'],
            $blockContent,
            $helper->renderTitle($blockInfo),
            $this->renderBox($blockInfo, $path)
        );

        $showStatistics = false; // experimental (want to add some styling here...)
        if ($showStatistics && $blockInfo['name'] == 'core_profiler') {
            $wrappedHtml .= '<pre>'.print_r($this->aStatistics, true).'</pre>';
        }

        return $wrappedHtml;
    }
Render template hint

@param Mage_Core_Block_Abstract $block
@param $blockContent
@param $id
@return string|void