API l url - noradle/plsql-print GitHub Wiki

how to write URL

l(origin_url) -> prefix converted url

used in API x and API o

@

  • stand for name of the current package or standalone procedure, but cut the one type suffix character.
  • for example, default_b.d is executing,
  • l('@b.proc1') get default_b.proc1
  • l('@b/script1.js') get static file for packs/default_b/script1.js

*

  • stand for the whole name of the pack.proc, but "." is replace with "/"
  • for example, default_b.d is executing,
  • l('*.css') get static file for packs/default_b/d.css

^

  • stand for the app/schema's static root
  • for example, default_b.d is executing,
  • l('^pub/img/img1.png') get static file for pub/img/img1.png

\

  • stand for the site's static root
  • l('\demo/pub/img/img1.png') get static file for /demo/pub/img/img1.png

=

[key]

  • stand for key/full url lookup in ext_url_v view