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