Accessing data in an object?
| From: | Charles Kline | Date: | Tue, 27 Sep 2005 16:07:43 +0000 |
| Subject: | Accessing data in an object? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-223289@lists.php.net to get a copy of this message | ||
I am confused on how to get to the data in this object, anyone help me out?
here is the result of my var_dump() which is inside a class function functionTest($data){ var_dump($data); }
object(staff)(2) {
["arrStaff"]=>
array(12) {
["bsStaffID"]=>
string(4) "9090"
["bsLastName"]=>
string(5) "kline"
["bsFirstName"]=>
string(7) "charles"
["bsPhone"]=>
string(4) "1212"
["bsSite"]=>
string(1) "4"
["bsCube"]=>
string(4) "1212"
["bsEmail"]=>
string(6) "klinec"
["bp_boOrgID"]=>
NULL
["bpPositionID"]=>
NULL
["ptTitleName"]=>
NULL
["bp_ptTitleID"]=>
NULL
["bpVacantDate"]=>
NULL
}
["created"]=>
int(0)
}