[TYPO3-ect] Struts of a Roadmap
Elmar Hinz
elmar.DOT.hinz at team.MINUS.red.DOT.net
Tue Mar 21 01:42:06 CET 2006
Jan-Hendrik Heuing [DD] schrieb:
> True, looks ok so far. It might be interesting to be able to register some
> common functions in extensions. Like you ask for a link to some specifc view
> of a page, and it takes all needed parameters etc. automaticly. I am just
> heaving the case here, of course that could be done with some extension, but
> having a central way of doing those things cross extensions seems to be a
> good idea.
Didn't this proposal work?
----------------------------------------------------------------------
> easy way of resetting those values? Doing some extensionwork at the
> moment, I could also think of having a default set of parameters you
> use within your
I wouldn't implement this into this class.
But the trick is quite simple with ect_link. You prepare one instance
as a skeleton by setting some setters. Each time you need a link you
make a copy of the skeleton, you set the differing setters and call
makeTag(). Unset your copy. You are done.
Because all copies refer internally to the same cObject (in the next
version), you wouldn't even significantly lose performance.
----------------------------------------------------------------------
It that is still not flexible enough and you need your own
functionality inside it, why don't you extend ect in the classical
inheritance way?
>
> I guess so. And for the BE Plugins you just stick to MC ;)
Cool hacker. You really have never seen TYPO3 BE and you did allways
work from command line? ;-)
Regards
Elmar
More information about the TYPO3-team-extension-coordination
mailing list