Extends fluid with expressions to retrieve current's ActionRequest values
Some checks failed
ci/woodpecker/pr/functional-tests/1 Pipeline is pending
ci/woodpecker/pr/functional-tests/2 Pipeline is pending
ci/woodpecker/pr/functional-tests/3 Pipeline is pending
ci/woodpecker/pr/functional-tests/4 Pipeline is pending
ci/woodpecker/push/code-style Pipeline was successful
ci/woodpecker/push/functional-tests/4 Pipeline failed
ci/woodpecker/pr/code-style Pipeline failed
ci/woodpecker/push/functional-tests/1 Pipeline was successful
ci/woodpecker/push/functional-tests/2 Pipeline was successful
ci/woodpecker/push/functional-tests/3 Pipeline was successful
|
||
---|---|---|
.woodpecker | ||
Classes | ||
Configuration | ||
Resources/Private | ||
Tests/Functional | ||
composer.json | ||
License.txt | ||
README.md |
DigiComp.FluidCurrentControllerExpression
This extends the fluid language with an expression to allow you to access values of the current action request.
<html>
<title>Welcome to {#currentController.name} {#currentController.actionName}</title>
</html>
The pattern is {#currentController.PROPERTY_OF_ACTIONREQUEST}
- all properties are possible. To avoid duplicated "controller" in the expression you are allowed to omit them (even if it works, if you do not).
It is really helpful if you try to generalize partials - being an expression, it is not depending on any aliased namespace, which might change in deeper structures.