Date index for Mar 2003
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [achievo] Bug in NF_TRACK_CHANGES? [was: Re: [achievo] PostAdd -> PostEdit for project class]
At 12.23 14/03/2003 +0100, you wrote:
Hi,
Pietro Ravasio wrote:
$temprecord = $this->selectDb($pk);
$newrecordset = $temprecord[0];
$newrecordset["atkorgrec"] = $recordset[0];
$this->postUpdate($newrecordset);
What is different from the query that the NF_TRACK_CHANGES flag does?
Make an atk_var_dump of $record and look at the differences between $record
and $record["atkorgreg"], for instance:
...
dependencies => array(0)
...
atkorgrec => array(...)
...
dependencies => array(1)
deps => array(0)
...
...
This for an empty sub-element, for filled ones, you'll get almost nothing:
...
phase=''
...
atkorgrec => array(..)
...
phase => array(..)
0 => array(..)
id=...
...
...
...
...
I'm thinking to use PHP sessions to store in a variable that a node is
changed in one of its element, but this would be really bad... (also
because it wouldn't solve the problem to recover the changes, if not
storing them in this session variable)
greets,
Pietro
Greetings,
Ivo
--
Ivo Jansch <ivo dot
ibuildings.nl BV - information technology
http://www.ibuildings.nl
[ Achievo mailing list - http://www.achievo.org/ ]
[ to unsubscribe send an e-mail to achievo-unsubscribe dot
--
Pietro Ravasio <pietro.ravasio dot
System and Network Engineer
Abbeynet s.r.l. - http://www.abbeynet.it
TEL: +390702109044
FAX: +390702109013