Default args in action

  • (If the feature exist I couldn't find it, sorry!!)

    Hello! It would be nice to have the posibility to set something like:

    <action name="blabla" args=" first='hello' , second='1200' " scope="local"/>

    where 'hello' and '1200' are the default value of the first ans second arguments in case that they don't exist.


    I know that we could do that:

    if(!first,set(first,'hello';);

    But as I said "it would be nice", nothing urgent!
    *smile*

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!