Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

Patterns in kernel/private/classes/requestrules

Every class, view, fetch function, operator and plugin point of kernel/private/classes/requestrules with its design patterns.

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/standards/patterns/area-kernel-private-classes-requestrules.md

Patterns in kernel/private/classes/requestrules

Note

This page is generated from the source code by php bin/php/exppatterncatalogue.php --write. Do not edit it by hand: change the code or the generator, then run the command again. How the patterns are recognized: the pattern catalogue.

Every class, interface and trait of kernel/private/classes/requestrules with the patterns it was recognized as, followed by the module views, policy functions, fetch functions, template operators, cronjobs, event hooks and INI plugin points of the area. All patterns.

Classes (44)

ClassKindPatternsFileDescription
ezpRequestActionAllowclass implements ezpRequestRuleAction–kernel/private/classes/requestrules/ezprequestruleactions.php:16allow: the request runs as usual; no later rule is asked.
ezpRequestActionForbiddenclass implements ezpRequestRuleAction–kernel/private/classes/requestrules/ezprequestruleactions.php:34forbidden: the "access denied" page, HTTP 403 -- the same page a missing policy gives.
ezpRequestActionLogclass implements ezpRequestRuleAction–kernel/private/classes/requestrules/ezprequestruleactions.php:120log: writes a line to var/log/requestrules.log and lets the next rule decide.
ezpRequestActionLoginclass implements ezpRequestRuleAction–kernel/private/classes/requestrules/ezprequestruleactions.php:47login: an anonymous visitor is sent to user/login and back to the page after signing in.
ezpRequestActionNotFoundclass implements ezpRequestRuleAction–kernel/private/classes/requestrules/ezprequestruleactions.php:25notfound: the "not found" page, HTTP 404.
ezpRequestActionRedirectclass implements ezpRequestRuleAction–kernel/private/classes/requestrules/ezprequestruleactions.php:68redirect: HTTP redirect.
ezpRequestActionRedirectToAliasclass implements ezpRequestRuleAction–kernel/private/classes/requestrules/ezprequestruleactions.php:86redirect_to_alias: HTTP redirect to the URL alias of the node shown, with the view's user parameters ((offset)/10); the query string is kept by the k…
ezpRequestActionRewriteclass implements ezpRequestRuleAction–kernel/private/classes/requestrules/ezprequestruleactions.php:106rewrite: the kernel runs another URI instead, without a redirect; the visitor keeps the address they typed.
ezpRequestConditionClassclass extends ezpRequestFactCondition implements ezpRequestRuleStableCondition–kernel/private/classes/requestrules/ezprequestruleconditions.php:112class: the content class identifier of the node shown: Conditions[class]=article,blog_post
ezpRequestConditionFactclass extends ezpRequestFactCondition–kernel/private/classes/requestrules/ezprequestruleconditions.php:200fact:: any fact, including the ones an extension defines: Conditions[fact:customer_tier]=gold
ezpRequestConditionGroupclass extends ezpRequestFactCondition–kernel/private/classes/requestrules/ezprequestruleconditions.php:154group: a user group (content object id) the user belongs to: Conditions[group]=12,13
ezpRequestConditionHeaderclass extends ezpRequestFactCondition–kernel/private/classes/requestrules/ezprequestruleconditions.php:190header:: a request header, shell patterns; "*" means "sent at all": Conditions[header:X-Requested-With]=XMLHttpRequest
ezpRequestConditionHostclass extends ezpRequestFactCondition implements ezpRequestRuleStableCondition–kernel/private/classes/requestrules/ezprequestruleconditions.php:184host: the host name the visitor used, shell patterns: *.example.com
ezpRequestConditionIpclass implements ezpRequestRuleCondition–kernel/private/classes/requestrules/ezprequestruleconditions.php:213ip: the client address is one of these addresses or networks, IPv4 or IPv6, CIDR: Conditions[ip]=10.0.0.0/8,192.168.1.20,2001:db8::/32
ezpRequestConditionMethodclass extends ezpRequestFactCondition implements ezpRequestRuleStableCondition–kernel/private/classes/requestrules/ezprequestruleconditions.php:178method: the HTTP method: GET, POST, HEAD
ezpRequestConditionModuleclass extends ezpRequestFactCondition implements ezpRequestRuleStableCondition–kernel/private/classes/requestrules/ezprequestruleconditions.php:80module: the module that runs, after URL translation: content, user, shop
ezpRequestConditionModuleViewclass extends ezpRequestFactCondition implements ezpRequestRuleStableCondition–kernel/private/classes/requestrules/ezprequestruleconditions.php:83module_view: module/view, shell patterns: content/view, content/*, user/login
ezpRequestConditionNodeclass extends ezpRequestFactCondition implements ezpRequestRuleStableCondition–kernel/private/classes/requestrules/ezprequestruleconditions.php:106node: the node shown, by id: Conditions[node]=2,43
ezpRequestConditionParamclass extends ezpRequestFactCondition implements ezpRequestRuleStableCondition–kernel/private/classes/requestrules/ezprequestruleconditions.php:96param:: a view parameter by its name in module.php: Conditions[param:NodeID]=2,43
ezpRequestConditionPolicyclass implements ezpRequestRuleCondition, ezpRequestRuleStableCondition–kernel/private/classes/requestrules/ezprequestruleconditions.php:160policy: the user has access to any of these policy functions, module/function: Conditions[policy]=!content/view_system_url.
ezpRequestConditionRequestedViaclass extends ezpRequestFactCondition implements ezpRequestRuleStableCondition–kernel/private/classes/requestrules/ezprequestruleconditions.php:71requested_via: how the visitor reached the page -- system, alias, wildcard or index.
ezpRequestConditionResolvedUriclass extends ezpRequestFactCondition implements ezpRequestRuleStableCondition–kernel/private/classes/requestrules/ezprequestruleconditions.php:77resolved_uri: the system address the kernel runs, shell patterns: content/view/full/*
ezpRequestConditionRoleclass extends ezpRequestFactCondition implements ezpRequestRuleStableCondition–kernel/private/classes/requestrules/ezprequestruleconditions.php:151role: the name of a role assigned to the user, directly or through a group: Conditions[role]=Editor
ezpRequestConditionSchemeclass extends ezpRequestFactCondition implements ezpRequestRuleStableCondition–kernel/private/classes/requestrules/ezprequestruleconditions.php:181scheme: http or https
ezpRequestConditionSectionclass extends ezpRequestFactCondition implements ezpRequestRuleStableCondition–kernel/private/classes/requestrules/ezprequestruleconditions.php:115section: the section of the node shown, by id or identifier: Conditions[section]=standard,6
ezpRequestConditionSiteAccessclass extends ezpRequestFactCondition implements ezpRequestRuleStableCondition–kernel/private/classes/requestrules/ezprequestruleconditions.php:175siteaccess: the current siteaccess name: Conditions[siteaccess]=site,bold
ezpRequestConditionStateclass extends ezpRequestFactCondition implements ezpRequestRuleStableCondition–kernel/private/classes/requestrules/ezprequestruleconditions.php:127state: an object state of the node shown, group/state identifiers: Conditions[state]=ez_lock/locked
ezpRequestConditionSubtreeclass extends ezpRequestFactCondition implements ezpRequestRuleStableCondition–kernel/private/classes/requestrules/ezprequestruleconditions.php:109subtree: the node shown is one of these nodes or below them: Conditions[subtree]=864
ezpRequestConditionUriclass extends ezpRequestFactCondition implements ezpRequestRuleStableCondition–kernel/private/classes/requestrules/ezprequestruleconditions.php:74uri: the address as typed (without siteaccess, leading slash or query), shell patterns: content/view/, Fit-Healthy/
ezpRequestConditionUserclass implements ezpRequestRuleCondition, ezpRequestRuleStableCondition–kernel/private/classes/requestrules/ezprequestruleconditions.php:130user: anonymous or logged_in
ezpRequestConditionUserIdclass extends ezpRequestFactCondition–kernel/private/classes/requestrules/ezprequestruleconditions.php:145user_id: the current user's content object id
ezpRequestConditionUserLoginclass extends ezpRequestFactCondition–kernel/private/classes/requestrules/ezprequestruleconditions.php:148user_login: the current user's login, shell patterns
ezpRequestConditionViewModeclass extends ezpRequestFactCondition implements ezpRequestRuleStableCondition–kernel/private/classes/requestrules/ezprequestruleconditions.php:93view_mode: the ViewMode parameter of content/view: full, line, embed
ezpRequestContextclass–kernel/private/classes/requestrules/ezprequestcontext.php:26What is known about one request when the request rules decide on it: a set of named facts.
ezpRequestFactConditionclass implements ezpRequestRuleCondition–kernel/private/classes/requestrules/ezprequestruleconditions.php:21Base for the conditions that compare one fact with the values: the fact matches when it equals any value (case-insensitive), or, when the fact is a l…
ezpRequestFactProviderinterfaceInterface (contract), Strategy / handlerkernel/private/classes/requestrules/ezprequestruleinterfaces.php:90Adds facts to every request's context before the rules run.
ezpRequestRuleclassFactory and static factory methodskernel/private/classes/requestrules/ezprequestrule.php:33One request rule: when every condition matches, the action decides.
ezpRequestRuleActioninterfaceInterface (contract)kernel/private/classes/requestrules/ezprequestruleinterfaces.php:57An action: what happens when every condition of a rule matches.
ezpRequestRuleConditioninterfaceInterface (contract)kernel/private/classes/requestrules/ezprequestruleinterfaces.php:23A condition: one test on the facts of a request.
ezpRequestRuleEngineclassSingleton / instance(), Strategy / handlerkernel/private/classes/requestrules/ezprequestruleengine.php:32The request rules: an ordered list of rules, each a set of conditions and an action, asked about every module view the kernel is about to run.
ezpRequestRuleKernelclassUtility (static helper)kernel/private/classes/requestrules/ezprequestrulekernel.php:18Where the request rules meet the kernel: the facts of a real request (context()) and the response for a decision (moduleResult()).
ezpRequestRuleProviderinterfaceInterface (contract), Strategy / handlerkernel/private/classes/requestrules/ezprequestruleinterfaces.php:76Adds rules from PHP: an extension whose rules are computed (from a database table, from another INI file) rather than written in requestrules.ini.
ezpRequestRuleResultclassFactory and static factory methodskernel/private/classes/requestrules/ezprequestruleresult.php:24What a rule decided.
ezpRequestRuleStableConditioninterfaceInterface (contract)kernel/private/classes/requestrules/ezprequestruleinterfaces.php:46Marks a condition whose answer is the same for every request that the page caches would answer with one stored page: it reads only what their keys ho…

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x