[TYPO3-core] RFC: Bug #4914: Adding some more Date Conditions to class.t3lib_matchcondition.php

Andreas Otto andreas.otto at dkd.de
Tue Apr 3 14:11:59 CEST 2007


This is a SVN patch request.

Problem:
Some more data conditions are needed in class.t3lib_matchcondition.php.

Solution:
Adding the two additional conditions would make it possible to use
conditions like

[year = 2006]
some.silly.salestax = 16
[end]
 
[year = 2007]
some.silly.salestax = 19
[end]
 
[julianday < 300]
some.temp.object.season = spring or summer
[end]

Obviously the TSREF has to be updated than as well.

The patch was taken from the bugtracker and might not reflect the latest
changes from TRUNK but the patch is so easy to read that this should not
matter.

While we are at it: Are there other conditions you would like to see in
class.t3lib_matchcondition.php?

The new conditions would be available for TRUNK only.


Cheers,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug-4914.diff
Type: text/x-diff
Size: 1268 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070403/7188a14d/attachment.bin 


More information about the TYPO3-team-core mailing list