Date index for Jun 2003


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

Re: [achievo] Multi Record Actions



Hi,

Robert Beguiristain wrote:

it would sort of defeat the purpose of using the tool. Anyone have any a
suggestions or clarifications on how to proceed?

NF_MRA (which is the short alias of the flag you found) can indeed be used to define your own multi-record actions. Here's how it works:


1) Add the flag to the atkNode() call.

2) In your node, implement a method like this:

   function recordActions($record, &$actions, &$mraactions)
   {
     $mraactions[] = "something";
   }

Now, I'm not sure what the "something" value should actually be. My guess is that if you put "something" there, that it will try to call function action_something() on your node, and there you can use $this->m_postvars to get a list of all selected records (which are passed automatically).

But perhaps Peter can shed some light on this. He built the multi record actions thing.

Greetings,
Ivo



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