[TYPO3-ect] translations with lib/div
Franz Koch
typo at fx.MINUS.graefix.DOT.de
Mon Jul 30 13:17:16 CEST 2007
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
More information about the TYPO3-team-extension-coordination
mailing list