Date index for Mar 2003


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [achievo] PostAdd -> PostEdit for project class



At 13.16 13/03/2003 +0100, you wrote:
Since the project node is NF_EDITAFTERADD, you can ignore postAdd() and just use postUpdate() and postDel(). You might want to add NF_TRACKCHANGES so you in postUpdate() get the orginialrecord and easily could see wether the project is totally new or "merely" updated.

I really like this solution and I've adopted this, works perfectly!

Thanks for all!
Pietro

PS: Just a suggestion: in the documentation (and in the comments of NF_TRACK_CHANGES) there's written that old record data is stored in $rec["atkold"], actually it's stored in $rec["atkorgrec"]




/Jonas

Pietro Ravasio wrote:


[ 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


http://www.achievo.org/lists achievo.org - ©1999-2002 ibuildings.nl BV