[TYPO3-ect] Configuration needed in the model
Franz Koch
typo.removeformessage at fx-graefix.de
Tue Mar 17 16:46:28 CET 2009
walk2moon wrote:
> Hello there,
>
> I do have another question refering to push the config through the whole building process. I do need some configs for creeating a dynamic php-data-file in the model. Is there any chance to have the config in the model?
>
> Do need your help.
everything is available inside the controller, which itself should be
available in all your models (if not, create a reference to the calling
controller in your model) and then do:
$this->controller->configurations->get('whatever');
Just have a look at the documentation of lib (typo3conf/ext/lib/doc/*.txt)
--
kind regards,
Franz Koch
---------------------------------------------------
PayPal-Account: 'paypal _at_ elements-net _dot_ de'
---------------------------------------------------
More information about the TYPO3-team-extension-coordination
mailing list