/setup/staticcachestream
A view of the setup module, defined in kernel/setup/module.php and run by kernel/setup/staticcachestream.php.
Address
/setup/staticcachestream/(siteaccess)/<SiteAccess>/(maxpages)/<MaxPages>/(maxdepth)/<MaxDepth>/(purge)/<Purge>Unordered parameters, in any order as /(name)/value: (siteaccess) sets SiteAccess, (maxpages) sets MaxPages, (maxdepth) sets MaxDepth, (purge) sets Purge.
Who may open it
The user needs this policy function:
A policy on setup/* (every function) also grants it; limitations of the policy (section, subtree, class ...) still apply where the view checks them.
Details
| Key | Value |
|---|---|
| Navigation part | ezsetupnavigationpart |
| UI context | ajax |
Example
A link in a template (ezurl adds the siteaccess and quotes the address); the parameter values are placeholders:
<a href='/setup/staticcachestream'|ezurl>setup/staticcachestream</a>
<a href=concat( '/setup/staticcachestream/(siteaccess)/', 1 )|ezurl>setup/staticcachestream</a>From PHP, the redirect a view gives after it has done its work:
return $Module->redirectTo( '/setup/staticcachestream' );Related
Generated by ./console exp:help:examples from kernel/setup/module.php, kernel/setup/staticcachestream.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.