simone.na...@ptvonline.it wrote:
Hi everybody,
i'm trying to apply a method to an object getting its name from a
variable, that i obtain parsing an XML file.
For example:
$object = new Class;
$method = "row()"; #I'm getting this from the XML parser
$object->$method; #I've an error here...
O
On Wed, Nov 4, 2009 at 4:36 PM, wrote:
> Hi everybody,
> i'm trying to apply a method to an object getting its name from a variable,
> that i obtain parsing an XML file.
>
> For example:
>
> $object = new Class;
> $method = "row()"; #I'm getting this from the XML parser
> $object->$method; #I've
Hi everybody,
i'm trying to apply a method to an object getting its name from a
variable, that i obtain parsing an XML file.
For example:
$object = new Class;
$method = "row()"; #I'm getting this from the XML parser
$object->$method; #I've an error here...
Obviously the method inside the cla
3 matches
Mail list logo