[TYPO3-ect] translations with lib/div
Steffen Kamper
steffen at sk-typo3.de
Mon Jul 30 13:28:39 CEST 2007
Hi Franz,
"Franz Koch" <typo at fx.MINUS.graefix.DOT.de> schrieb im Newsbeitrag
news:mailman.1.1185794241.13736.typo3-team-extension-coordination at lists.netfielders.de...
> Hi folks,
>
>> i don't want to have the pibase in lib. My only attention was to get the
>> configuration in any case (and sure, as easy as possible).
>> Atm you have to get a single param with
>> $this->controller->configurations->get($param);
>> May be I'm blocked, but this method only works, if you know the param.
>> But may be you want to access unknown params as well, then it is more
>> easy to walk through the array.
>> The same limit i had e.g. with t3lib_div::_GP($param) which makes it
>> complicate without knowing the params.
>
> If you want the configuration array - why don't you simply use the method
> for that, that all lib-objects have?
> ---
> $tempConf = &$this->controller->configurations->getArrayCopy();
> ---
>
> Then you can do whatever you want in your model. But normally you should
> know which parameters your configuration has ;)
>
> --
> Kind regards,
> Franz Koch
ok, another way to do :-)
thx, vg Steffen
More information about the TYPO3-team-extension-coordination
mailing list