adding minimal documentation and package meta information
All checks were successful
ci/woodpecker/push/code-style Pipeline was successful
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
ci/woodpecker/pr/code-style Pipeline was successful
ci/woodpecker/push/functional-tests/4 Pipeline was successful
ci/woodpecker/pr/functional-tests/1 Pipeline was successful
ci/woodpecker/pr/functional-tests/2 Pipeline was successful
ci/woodpecker/pr/functional-tests/3 Pipeline was successful
ci/woodpecker/pr/functional-tests/4 Pipeline was successful
All checks were successful
ci/woodpecker/push/code-style Pipeline was successful
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
ci/woodpecker/pr/code-style Pipeline was successful
ci/woodpecker/push/functional-tests/4 Pipeline was successful
ci/woodpecker/pr/functional-tests/1 Pipeline was successful
ci/woodpecker/pr/functional-tests/2 Pipeline was successful
ci/woodpecker/pr/functional-tests/3 Pipeline was successful
ci/woodpecker/pr/functional-tests/4 Pipeline was successful
This commit is contained in:
parent
193d9b925a
commit
e303f86640
2 changed files with 29 additions and 1 deletions
13
README.md
Normal file
13
README.md
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
# DigiComp.FluidCurrentControllerExpression
|
||||||
|
|
||||||
|
This extends the fluid language with an expression to allow you to access values of the current action request.
|
||||||
|
|
||||||
|
```html
|
||||||
|
<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.
|
|
@ -16,5 +16,20 @@
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"DigiComp\\FluidCurrentControllerExpression\\": "Classes/"
|
"DigiComp\\FluidCurrentControllerExpression\\": "Classes/"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Ferdinand Kuhl",
|
||||||
|
"email": "f.kuhl@digital-competence.de",
|
||||||
|
"homepage": "https://www.digital-competence.de",
|
||||||
|
"role": "Developer"
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"homepage": "https://git.digital-competence.de/Packages/DigiComp.FluidCurrentControllerExpression",
|
||||||
|
"keywords": [
|
||||||
|
"Neos",
|
||||||
|
"Flow",
|
||||||
|
"fluid"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue