Changes between Version 17 and Version 18 of S3/S3Navigation
- Timestamp:
- 03/05/12 13:08:54 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3/S3Navigation
v17 v18 88 88 ||'''check_active'''||Check whether the item is relevant for the current request||if this returns False, the item will be deactivated and no further checks nor the renderer ever be invoked (abort)|| ||check_active returns False if a target controller is defined, but disabled in deployment settings, or if neither the item nor any of the items in the same subtree anyhow matches the request|| 89 89 ||'''check_permission'''||Check whether the user is permitted to access the target URL of the item||sets flag||authorized||returns True if an auth.accessible_url can be created from the target URL|| 90 ||'''check_selected'''||Check whether the item matches the current request||sets flag upward in the whole subtree||selected||returns True if this item or any of its children matchesreaches the highest match-level for the current request||90 ||'''check_selected'''||Check whether the item matches the current request||sets flag upward in the whole subtree||selected||returns True if this item or any of its children, out of all items in the tree, reaches the highest match-level for the current request|| 91 91 ||'''check_hook'''||Runs the check-hook methods defined for this item||if this returns False, neither check_enabled nor the renderer will be run|| ||returns True only if all check-hooks return True, otherwise False|| 92 92 ||'''check_enabled'''||Check whether the item is enabled||Overrides the enabled flag if (and only if) it returns False, if it returns True, the flag remains unchanged||enabled||by default, check_enabled returns always True||