dataobject : problem with insert function
| From: | mike | Date: | Mon, 23 Aug 2004 07:44:31 +0000 |
| Subject: | dataobject : problem with insert function | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-14226@lists.php.net to get a copy of this message | ||
Hi,
I would like redefine insert function because I need to set the key value.
But Dataobject ignore the value that I give it.
Here's the function :
function insert(){
DB_DataObject::DebugLevel(1);
$this->rubcode=81;
parent::insert();
}
Normally, I should have 81 for the insert value, really, I have the value 9,
dataobject does not take into account my value. What have I to do?