Re: [PHP] Simple objective which always seems to make me think I'm doing it wrong.

2013-05-24 Thread Richard Quadling
On 23 May 2013 16:31, Stuart Dallas wrote: > On 23 May 2013, at 15:54, Richard Quadling wrote: > > > I'm building an XML file. > > > > It is within an OOP structure and is pretty simple. > > > > The method is ... > > > >/** > > * Turn an error from the W2GlobalData service into normal do

Re: [PHP] Simple objective which always seems to make me think I'm doing it wrong.

2013-05-23 Thread Stuart Dallas
On 23 May 2013, at 15:54, Richard Quadling wrote: > I'm building an XML file. > > It is within an OOP structure and is pretty simple. > > The method is ... > >/** > * Turn an error from the W2GlobalData service into normal document as > this will make it easier to integrate downstream.

Re: [PHP] Simple objective which always seems to make me think I'm doing it wrong.

2013-05-23 Thread Matijn Woudt
On Thu, May 23, 2013 at 4:54 PM, Richard Quadling wrote: > Hi. > > I'm building an XML file. > > It is within an OOP structure and is pretty simple. > > The method is ... > > > Nothing particularly difficult to understand, but I just don't like having > the XML embedded this way. > > Ideally, I w

[PHP] Simple objective which always seems to make me think I'm doing it wrong.

2013-05-23 Thread Richard Quadling
Hi. I'm building an XML file. It is within an OOP structure and is pretty simple. The method is ... /** * Turn an error from the W2GlobalData service into normal document as this will make it easier to integrate downstream. * * @param \SimpleXMLElement $o_XML * @return \