John Holmes wrote:
- Original Message - From: "Daniel Schierbeck" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 20, 2004 10:47 AM
Subject: [PHP] Overloaded Class & The __tostring() Method
I am trying to build an XML-formatted string from a
- Original Message -
From: "Daniel Schierbeck" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 20, 2004 10:47 AM
Subject: [PHP] Overloaded Class & The __tostring() Method
I am trying to build an XML-formatted string from an object. I use this
I am trying to build an XML-formatted string from an object. I use this
code:
class XML_Object
{
private $childs = array();
public function __get ($prop)
{
if (isset($this->childs[$prop])) {
3 matches
Mail list logo