-
Notifications
You must be signed in to change notification settings - Fork 0
API l url
kaven276 edited this page Jan 14, 2016
·
2 revisions
l(origin_url) -> prefix converted url
- 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
- stand for not change
- l('=http://xxx/xxx') converted to http://xxx/xxx
- stand for key/full url lookup in ext_url_v view