Feature #5485
Missing operators "===", "!==" and "!" in fluid comparism mechanism
Status: | Rejected | Start date: | 2009-11-24 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | Core | |||
Target version: | - | |||
Has patch: |
Description
implement them :)
Attached patch adds the operators and furthermore adds a unit test to for all operators in different datatypes...
Related issues
History
#1 Updated by Jochen Rau over 5 years ago
- Status changed from New to Accepted
- Assigned To set to Sebastian Kurfuerst
This issue should be moved to the Package Fluid.
#2 Updated by Sebastian Kurfuerst about 5 years ago
- Status changed from Accepted to New
- Assigned To deleted (
Sebastian Kurfuerst)
#3 Updated by Sebastian Kurfuerst about 5 years ago
- Project changed from Extbase MVC Framework to TYPO3.Fluid
#4 Updated by Sebastian Kurfuerst about 5 years ago
- Status changed from New to Accepted
thanks for the unit tests, we should definitely include this.
However, I am not yet sure what the single "!" is supposed to do, as it is not a binary operator.
Greets,
Sebastian
#5 Updated by Bastian Waidelich about 5 years ago
Sebastian Kurfuerst wrote:
Hi,
However, I am not yet sure what the single "!" is supposed to do
Probably the same as it does in PHP, negating the condition:
<f:if condition="!{true}">...
..just guessing.
#6 Updated by Bastian Waidelich about 5 years ago
- Category set to Core
- Assigned To set to Bastian Waidelich
- Branch set to v4 + v5
#7 Updated by Steffen Ritter almost 5 years ago
yes I wanted to negate the outcome of the expression afterwards
#8 Updated by Bastian Waidelich over 4 years ago
- Assigned To deleted (
Bastian Waidelich)
#9 Updated by Sebastian Kurfuerst about 4 years ago
- Status changed from Accepted to Rejected
- !== and === are now automatically used for objects.
- Only negation is possible by doing <f:if><f:else>...