[TYPO3-dev] t3lib_tstemplate::splitConfArray / allWrap

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Tue Apr 4 10:46:15 CEST 2006


Andreas Zaugg schrieb:
> 
> The problem is the "$this". I don't know how I should call splitConfArray().

Please read these documents (at least):

http://www.php.net/manual/en/language.oop.php
http://www.php.net/manual/de/language.oop.php


> My Ext:
> 
> require_once(PATH_t3lib.'class.t3lib_tstemplate.php'
> 
> class ....{
> .
> .
>  function main(...
>   .
>   .
>   $allWrap = t3lib_tstemplate::splitConfArray($conf,6);

Anyway, from a plugin you might call the method like this:

$GLOBALS['TSFE']->tmpl->splitConfArray($conf,6);

Masi




More information about the TYPO3-dev mailing list