Anvil | Smiths Smiths | Register Register | Login Login |
Search:
Show links Show tools Show tree | Previous document Next document | njet.org > Anvil > Documentation > Language reference > Templates > Tags > <call>

<invoke>

  <call 
    [ params="expr-listparameters" | ( param="exprparam" ) * ]
    function="dotted-namefunction"  >

An ``callยดยด tag calls a given function with given parameters.

Attributes:

function
Dotted name function to invoke.
param
Expression yielding single parameter. There may be more than one of these as they are joined together in the order of appearance, creating a parameter list. Mutually exclusive with params.
params
List of expressions yielding the whole parameter list. Mutually exclusive with param.

See also  | Tags  | Statement tags
What's new | Anvil