xo::PackageMgr instproc require_site_wide_pages (public)
<instance of xo::PackageMgr> require_site_wide_pages \ [ -refetch on|off ] [ -refetch_if_modified on|off ] \ [ -pages pages ]
Defined in packages/xotcl-core/tcl/06-package-procs.tcl
Load site-wide pages from the prototype page directory. The pages are loaded into to site-wide instance. When a page to be loaded exists already, a new revision is added. If no pages are provided, use the list of pages as defined for the package.
- Switches:
- -refetch
(boolean) (defaults to"false"
) (optional)- force fresh loading of prototype pages
- -refetch_if_modified
(boolean) (defaults to"false"
) (optional)- refetch when modification date of file is new than the version in the content repository
- -pages
(optional)- list of pages (without languages prefix) or empty to refer to per-package definition.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- xowiki_test_cases