Achievo Community
https://www.atk-framework.com/forum/

NF_MRA multiselect action can it get a value from constructo
https://www.atk-framework.com/forum/viewtopic.php?f=2&t=35729
Page 1 of 1

Author:  dgangal [ Thu Feb 23, 2017 5:58 pm ]
Post subject:  NF_MRA multiselect action can it get a value from constructo

NF_MRA multiselect action can it get a value from constructor

I have a readonly node for multi-selecct (NF_MRA) action (action_close_and_post()).

from constructor can i send a parameter to this action_close_and_post() ? like function action_close_and_post($someparam1='').

I do not wish to set session variable and send it across for some reason



Code:

//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%5
 class srf_dtl_pofitem_link_pop extends atkNode
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%5
  {

    //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%5
    function srf_dtl_pofitem_link_pop()
    //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%5
    {
      $this->atkNode("srf_dtl_pofitem_link_pop", NF_MRA | NF_NO_ADD | NF_NO_EDIT |  NF_NO_DELETE | NF_NO_VIEW|  NF_NO_EXT_SEARCH | NF_EXPORT | NF_SORT |  NF_NO_SECURITY);
    :
    :
    }




      // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */
      function recordActions($record, &$actions, &$mraactions)
      // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */
       {
         $mraactions['my_mra_action'] = "close_and_post";
       }


      // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */
function action_close_and_post()
      // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */
 {
    :
    :
  }

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/