开发者

Display list of available methods for a given template

I used to remember a useful snippet (Magento native) that allowed me to list all 开发者_StackOverflowavailable methods for a current template file.

Unfortunately I've lost is somewhere and would like to ask if there is anybody who can point me in the right direction?

Cheers!


Without thinking too much you are probably thinking of

<pre><?php print_r(get_class_methods(get_class($this))); ?></pre>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜