summaryrefslogtreecommitdiffstats
path: root/doc/antora/modules/unlang/pages/xlat/module.adoc
blob: 3ce43228b1b000a7a3e3755ad04cb2d10fd7e39a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
= Module References

Individual modules may be referenced via the following syntax:

`%{module:string}`

These references are allowed only by a small number of modules that
usually perform database lookups. The module name is the actual name of
the module, as described earlier. The string portion is specific to each
module and is not documented here. It is, however, usually dynamically
expanded to allow for additional flexibility.

.Examples

`%{sql:SELECT name FROM mytable WHERE username = %{User-Name}}`

// Copyright (C) 2020 Network RADIUS SAS.  Licenced under CC-by-NC 4.0.
// Development of this documentation was sponsored by Network RADIUS SAS.