sprinkles Posted March 9, 2009 Share Posted March 9, 2009 Hi, I'm developing a mobile site that needs to be able to use either XHTML or WML, depending on the device capabilities. I'd like to keep the same controllers and models, but am unsure of the best way to achieve switching the output format. The way that seems logical would be to switch views. I can't see how to do this, though, and I'm not certain it's the best practice. The other option I can think of would be to have logic in the view to decide which to output, but that seems very messy. Any advice is appreciated, thanks! Quote Link to comment https://forums.phpfreaks.com/topic/148641-zend-switching-viewmultiple-output-formats/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.