I am setting a session object:
[code]
$_SESSION[VDH][emplead][EmpRentalUnitFiling] = new EMPRentalUnitFiling();
$_SESSION[VDH][emplead][EmpRentalUnitFiling]->DateStarted = date(“Y-m-d”);
$_SESSION[VDH][emplead][EmpRentalUnitFiling]->PropertyID = minimum_limit($_POST[propertyID]);
$_SESSION[VDH][emplead][EmpRentalUnitFiling]->PrimaryOwnerID = $_SESSION[VDH][emplead][OwnerUserID];
$_SESSION[VDH][emplead][EmpRentalUnitFiling]->Add();
When i var_dump that object to the screen (or check if it is set) i get a nul value for that object.
Howver, if i var_dump the parent Session $_SESSION[VDH][emplead], i have that object listed, with a number sign and integer (“#3”).
so that, below is what i get when i var_dump the parent object:
[CODE]
array(3) { [“EmpRentalUnitFiling”]=> object(EMPRentalUnitFiling)#4 (16) { [“id”]=> int(37) [“DateStarted”]=> string(10) “2010-04-13” [“Completed”]=> NULL [“PropertyID”]=> string(2) “10” [“PrimaryOwnerID”]=> int(1) [“OtherOwnerIDs”]=> NULL [“PropertyManagerID”]=> NULL [“Quest25DistributePamphletsYN”]=> NULL [“CertifyTrueAndAccurate”]=> NULL [“SignersName”]=> NULL [“SignerSignature”]=> NULL [“SignerAddress1”]=> NULL [“SignerAddress2”]=> NULL [“SignerCity”]=> NULL [“SignerStateID”]=> NULL [“SignerZipCode”]=> NULL } [“OwnerUserID”]=> int(1) [“OwnerUserName”]=> string(7) “Michael” }
Does anyone have experience wiht how i can just access this object ?