xo::PackageMgr instproc require_site_wide_pages (public)

 <instance of xo::PackageMgr[i]> require_site_wide_pages \
    [ -refetch on|off ] [ -refetch_if_modified on|off ] \
    [ -pages pages ]

Defined in /var/www/openacs.org/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 (optional, boolean, defaults to "false")
force fresh loading of prototype pages
-refetch_if_modified (optional, boolean, defaults to "false")
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.

Testcases:
xowiki_test_cases
[ show source ]
Show another procedure: