how to get private properties of an object
Posted: Wed Feb 08, 2012 1:07 pm
Hi ,
I am trying to access a private property of and object, but can't get it working. Here is the schema of the object from a var_dump:
[text]
object(RedBean_OODBBean)[34]
private 'null' => null
private 'properties' =>
array
'id' => int 0
'type' => string 'http://xxxxxx
'map' => string 'http://yyyyy
[/text]
how would I get access to for example - id
Thanks in advance,
KC
I am trying to access a private property of and object, but can't get it working. Here is the schema of the object from a var_dump:
[text]
object(RedBean_OODBBean)[34]
private 'null' => null
private 'properties' =>
array
'id' => int 0
'type' => string 'http://xxxxxx
'map' => string 'http://yyyyy
[/text]
how would I get access to for example - id
Thanks in advance,
KC