Release 2.x‎ > ‎Install - Reference‎ > ‎Config Ref Guide‎ > ‎Associations‎ > ‎Association‎ > ‎Attributes‎ > ‎Attribute‎ > ‎Functions‎ > ‎Function‎ > ‎Arguments‎ > ‎

Argument

Arguments are used by the Function implementation. There are two types of Arguments:

argdescription
attributeThe value is a name of an Attribute and it's value is assigned to the name of the Argument
literalThe value is treated as a constant string and is assigned to the name of the Argument

Syntax

<Arguments>
  <Argument name="first"      type="attribute" value="firstname"/>
  <Argument name="dot"        type="literal" value="."/>
  <Argument name="last"       type="attribute" value="lastname"/>
  <Argument name="at"         type="literal" value="@"/>
  <Argument name="domainname" type="literal" value="openptk.org"/>
 </Arguments>

Arguments

NameRequiredDescriptionExample
nameYesA unique name for the Argumentname="first"
typeYesThe argument type. The value must be either literal or attributetype="attribute"
valueYesThe value of the Argument.value="firstname"



XML Sub-Elements