Last change
on this file since 1731 was
487,
checked in by piv, 18 years ago
|
visibility functionality, updated js libraries, remade js base httprequests, url processing on adding...
|
File size:
354 bytes
|
Rev | Line | |
---|
[487] | 1 | from interfaces import IDomainsMapExtractor |
---|
| 2 | |
---|
| 3 | def add_domains_map(context, event): |
---|
| 4 | """Add to request PATH-DOMAIN map. |
---|
| 5 | """ |
---|
| 6 | pd_map = None |
---|
| 7 | extractor = IDomainsMapExtractor(context, None) |
---|
| 8 | if extractor is not None: |
---|
| 9 | pd_map = extractor.getDomainsMap() |
---|
| 10 | |
---|
| 11 | if pd_map is not None: |
---|
| 12 | event.request.set('path_domain_map', pd_map) |
---|
| 13 | |
---|
Note: See
TracBrowser
for help on using the repository browser.