Dear people,
For a project I have a script that makes a request to an off-site webservice (SOAP) to get data. This data is copied into the local database. If all goes well, it needs to return a single value: 1 (or 0 in case of error). If possible, I want to make use of all the nice Yii helper classes. So I thought make a controller that invokes the script and then return a value through a view. The view has no layout and I was hoping that there would be only the echoed returned value. But I overlooked the preloaded modules/extensions that publishes stuff (needed in all the other views of course). Therefore a full HTML document is returned.
Is there a way to override all the preloading stuff to not load for this single view? Or can the value be returned another way, perhaps through the contoller skipping the view right to the applicant?
Hopefully someone can help me out here!
Greetings