[fw-general] How to return XML in an Zend Framework Application

2009-10-09 Thread Jayawi
Hi all, I'm having problems returning XML in my ZF Application. Below is the code I have: ?php class ProjectsController extends Gid_Controller_Action { public function xmlAction () { $content = ?xml version='1.0'foobar/foo; header('Content-Type: text/xml');

[fw-general] Zend_Form File Element / Decorator - Extremely Confuzzled

2009-09-09 Thread Jayawi
Hi there~ I'm relatively new to ZF but have enjoyed using it so far. The main issue I've had with ZF is with it's Form and Decorator aspects. After going through God knows how many articles/blogs/posts and what not, I thought I finally had a grasp of it. Things were working okay. I created a

Re: [fw-general] Zend_Form File Element / Decorator - Extremely Confuzzled

2009-09-09 Thread Jayawi
Thanks heaps Daniel and Thomas. I had actually visited that particular FAQ page before, but I thought it a dead-end or login-required page when in fact I now realise that it was due to the horrible internet connection that I have here that the FAQ questions failed to render as a link. In any