Re: DB_DataObject: how to implement a calculated data inside a object FROM another
| From: | j llarens | Date: | Mon, 07 Jun 2004 15:03:14 +0000 |
| Subject: | Re: DB_DataObject: how to implement a calculated data inside a object FROM another | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-12967@lists.php.net to get a copy of this message | ||
hi Justin Patrin
I suspect I'm missing something, because when I ask
for variable $status it returns nothing. I var_dump'ed
and get this:
object(padron)(13) { ["_DB_DataObject_version"]=>
string(9) "@version@" ["__table"]=> string(6)
"padron" ["N"]=> int(1) ["_database_dsn"]=>
string(0) "" ["_database_dsn_md5"]=> string(32)
"6d83d2454e9c574828d6d5b74855089b" ["_database"]=>
string(4) "ccol" ["_DB_resultid"]=> int(1)
["_link_loaded"]=> bool(false) ["_join"]=> string(0)
"" ["_lastError"]=> bool(false) ["id"]=> string(6)
"562708" ["nombre"]=> string(23) "LOVATO JUSTA
GALARZA DE" ["domicilio"]=> string(0) "" }
and with debuglevel (SO large to put here) also not
mention $status object var
I tested with a:
var $status
inside and outside AUTOCODE with the same result
Oh and in the .ini schema file also.
Finaly, I put a getStatus function that return the
result of the query, with same results.
So, for some reason, the object refuses (silently) to
recognize or use the added var or function.
What im doing wrong?
------------
Contanos cómo usás el correo electrónico,
qué pensás del spam y de los virus.
Encuesta de Correo Yahoo!
Participá en
http://ar.surveys.yahoo.com/ar_mailpr2