[TYPO3-mvc] to read settings in model
Gianluca Strafella
gianluca.strafella at webformat.com
Wed Jan 29 08:53:06 CET 2014
Hi Alexander,
because you need of "settings" in a Model ? You can work with the
model, and apply some "settings", in your controller, where you have
access to $this->settings. Can't you do it ? In this way the Model is
decoupled by extention, and same Model can be used in another place
(another extention).
Regards,
Gianluca
Gianluca Strafella
Software Developer
gianluca.strafella at webformat.com
Tel. +39-0427-926.389
WEBFORMAT srl – www.webformat.com
Via Mecenate, 76 - 20138 MILANO
Corte Europa, 12 - 33097 SPILIMBERGO (PN)
Il 24/01/2014 16:52, Alexander Averbukh ha scritto:
> Hello all,
>
> does anybody know, how I can read settings in the model? It is very
> easy in the controller with $this-> settings. But I need them in the model.
> Thank you.
More information about the TYPO3-project-typo3v4mvc
mailing list