[TYPO3-ect] RFC: Common prefixId for several controllers

Daniel Brüßler info at -remove-patchworking.de
Fri Jan 12 11:19:33 CET 2007


Hello Elmar,

as I see this comes from the wish to handle the GET/POST-values and
nothing more. But important enough ;-)

My 50 cents:
Would be good to use a mixed prefixId containing FOUR things instead of
three
* the prefix "tx_" (class-var)
* the extKey "yellowbanana" (class-var)
* the ext-type "_pi" (class-var)
* the current tt_content-dataset-uid of the plugin (INSTANCE-var)

=> So a call $this->getPrefixId() can give the new ID
and it's possible to put a million instances of the same plugin into the
same page

To make the using easy for extension-developers it should be enough to
set this mixed Id in a call in the main-function after $this->conf=$config

++-------

for example:
* one plugin with tt_content uid=250, extKey="yellowbanana"
* second plugin with tt_content uid=251, extKey="yellowbanana"

can have a view
http://johnnycash.com?id=1000&tx_yellowbanana_pi_250[list]=20&tx_yellowbanana_pi_251[list]=24

++-------

Big problem: the core would need some changes. I think it's
t3lib_div_implodeArrayForUrl and pi_linkTP.

But I don't know the core good so I cannot say if this is all what would
be needed.

++------

I hope this helps a little bit

kind regards
Daniel Brüßler


More information about the TYPO3-team-extension-coordination mailing list