All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
  Print view

NF_MRA multiselect action can it get a value from constructo
Author Message
PostPosted: Thu Feb 23, 2017 5:58 pm 
Regular
User avatar
Offline

Joined: Thu Aug 25, 2011 9:31 pm
Posts: 310
Location: Mumbai, India
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()
      // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */
 {
    :
    :
  }


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group