vang
Založený: 20.02.2004
Príspevky: 5
Zaslal: 2004-09-24 09:03
Návrat hore
Odpovedať s citátom
|
i have this problem
1. click copy on a record
2. edit some fields
3. save
after save (after-insert trigger), i want to do some extra operations and i need oldvals and newvals. I fact i saw, i have newvals (values after editing), but i also need the original values (those which were 'Copy'-ed).
i have put in pre-insert-trigger something like
if ($this->operation == "Copy") {
$opts['cgi']['persist']['copydomain'] = $this->rec;
}
and in after-insert-trigger
$copydomain=$this->cgi['persist']['copydomain'];
but $copydomain is undefined. i tried to play with var_dump($this) etc to see if i'm missing something, but no success...
thanks in advance for any help
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|