Get typoscript values ​​in extbase framework

I am new to extbase (MVC) Framework, how can we get typoscript values ​​in our extension:

For example: suppose if I have some typoscript values, for example:

plugin.tx_some-extname.somevlaueX = XXXX plugin.tx_some-extname.somevlaueY = yyyy plugin.tx_some-extname.somevlaueZ = zzzz 

how will I get these values ​​in the specific action of our controller. Hope this makes sense?

+6
source share
1 answer

Declare the values ​​in the settings (in the settings field), i.e.:

 plugin.tx_some-extname.settings { myXsetting = XXXX } 

So, all settings will be available in your plugin in $this->settings (like array ):

 $valX = $this->settings['myXsetting']; 
+12
source

All Articles