[TYPO3-core] RFC: Feature Request #5610: Extend TCEFORM_confObj on Page TSconfig by property filterItems
Oliver Hader
oh at inpublica.de
Wed Jan 16 10:35:29 CET 2008
Hi Helmut,
Helmut Hummel schrieb:
> Hi Olli,
>
> thanks for this patch, this will be a great improvement. I often missed
> such functionality. Netvertheless I have some questions and remarks
>
> Oliver Hader schrieb:
>>
>> Ernesto Baschny [cron IT] schrieb:
>>> Oliver Hader wrote: on 15.01.2008 16:57:
>>>>
>>>> Example:
>>>> TCEFORM.<table>.<field>.filterItems = 110,101,111
> >>
> > I've attached a new patch which removes the 'filterItems.ignore'
> > property. The main property is still called 'filterItems'.
>
> I would agree with Ernesto here and would suggest to only name it "Items".
>
> Then we would have "addItems", "removeItems" like the TS-Functions
> addToList and removeFromList and the explicit setting of the wanted
> "Items" similar to the assigning of a value in TS.
>
> What do you think? For me this looks pretty straightforward.
This property doesn't a direct assingment of values like "x=123" does.
So, it's not a "setItems" functionality.
Example:
-> start with these items: 10, 20, 30, 40, 50
-> filterItems is set to: 10, 30, 50, 60, 70
-> result would be then: 10, 30, 50
> besides from that, +1 by reading
Thanks for your review!
olly
--
Oliver Hader
http://inpublica.de/
More information about the TYPO3-team-core
mailing list