Date index for Mar 2003
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PostAdd -> PostEdit for project class
Hi there,
I'd like to extend project class to be able to send an email to everybody
is involved in the project whenever this project is created, updated or
deleted (I've already added a "team" associated with the project)
I was thinking to "copy" from todo node and use PostAdd, PostUpdate and
PostDel, but I've got a problem with them since, for instance, PostAdd is
called after the first insertion into the db of only the "name" of the
project (then the dispatcher calls an edit action on it), and since there's
not a "PostEdit" function in AtkNode class... Is there a way to override
the moment in wich PostAdd is called? (the problem is that $rec is void
after "add" action on a project, since it contains only the name)
I wouldn't like to modify atk code (atkNode class)
I'm working on the latest stable version of achievo (0.8 series)
Thanks,
Pietro
--
Pietro Ravasio <pietro.ravasio dot
System and Network Engineer
Abbeynet s.r.l. - http://www.abbeynet.it
TEL: +390702109044
FAX: +390702109013