[TYPO3-dev] General question: links between extensions/plugins/etc

Mathias Schreiber mathias.schreiber at wmdb.de
Mon Feb 20 09:47:29 CET 2006


dan frost wrote:
> I'm often having to link from a listing extension
> to a single-display / form-display extension. I
> don't want the extensions / plugins to know about
> each other's internal structure OR about the
> structure of the URLs.

sounds very useful.

> This means that if the URL syntax changes in
> myForm i don't need to change any of the plugins /
> extensions which link to it.
>
> How does that sound? Has anyone tried this?

If you only use singleView (like in your example) the API would have quite a 
lot of methods.
WHat about something like this:
t3lib_div::linkVars($extKey,$key,$value)?

With your example this would be like
t3lib_div::linkVars('myForm','uid',123);

Having such a function could return the full linkCode plus it might be cool 
to check whether $this->prefixId is used twice with the same namespace.






More information about the TYPO3-dev mailing list