get_object_vars(),
get_class_vars(),
get_class_methods()
Andrey
- Original Message -
From: Filippo Veneri [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 18, 2002 1:28 PM
Subject: [PHP] object reflection in php?
Is there a way to get the name of a filed
from a variable
On Monday, March 18, 2002, at 06:28 AM, Filippo Veneri wrote:
Just to make myself understood:
class obj {
var $field;
function obj( $value ) {
$this-field = $value;
}
}
$o = new obj( field value );
How can i know, if possible, that the instance of
obj pointed to by $o
Erik Price wrote:
On Monday, March 18, 2002, at 06:28 AM, Filippo Veneri wrote:
Just to make myself understood:
class obj {
var $field;
function obj( $value ) {
$this-field = $value;
}
}
$o = new obj( field value );
How can i know, if possible, that the instance of
To: Filippo Veneri
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] object reflection in php?
On Monday, March 18, 2002, at 06:28 AM, Filippo Veneri wrote:
Just to make myself understood:
class obj {
var $field;
function obj( $value ) {
$this-field = $value;
}
}
$o = new obj( field
John Coggeshall wrote:
Why are you going through all of this trouble, exactly?
If you are looking to store the instance of the object in the databaes,
why not just use serialize()/unserialize()??
John
If you're trying to map each object property to a specific table column
in a
5 matches
Mail list logo