[TYPO3-english] How to get URL query string in extension class

David Bruchmann typo3-en at bruchmann-web.de
Wed Oct 21 13:11:40 CEST 2009


----- Ursprüngliche Nachricht -----
Von:        Pero Matic <takoje at takoje.hr>
Gesendet:   Mittwoch, 21. Oktober 2009 12:52:52
An:         typo3-english at lists.typo3.org
CC:
Betreff:    [TYPO3-english]  How to get URL query string in extension class
> Hi. Is it possible to get whole url query string inside extension class and 
> how? Thx. 
> 

I assume you're talking of FE-Extensions which always are 
extension-classes of tslib_pibase 
(typo3\sysext\cms\tslib\class.tslib_pibase.php).

Just open the Class and look for link-functions, an Index of functions 
in the top of the file makes it quiet simple and scrolling to the 
functions you have always an explanation above.
In your class you cann call the functions just with 
$this->FUNCTION($parameters).

Another pool for functions is the class class.tslib_content.php which is 
the base-class to render TypoScript-Code. There you can also find a 
bunch of linking-functions. Functions of this class you can call from 
your Extension with $this->cObj->FUNCTION($parameters).

David


More information about the TYPO3-english mailing list