2012-02-06 13:29 阅读 35


I'm working my way through "Zend Framework: A beginners guide" by Vikram Vaswani, and currently I am attempting to get the ContentSwitch action helper for serving up XML content, however I encounter the following error message:

Action Helper by name ContentSwitch not found

When trying the following in my init() function:

$contentSwitch = $this->_helper->getHelper('contentSwitch');

All the sources say that this should work... however, it does not. I am using Zend Framework 1.11.11. Has anyone encountered this problem before?

Thanks for your time!

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

1条回答 默认 最新