Where is ExtBase reference material available?

纵然是瞬间 提交于 2019-12-25 01:49:51

问题


I am searching for a good source for understanding the userFunc = tx_extbase_core_bootstrap->run magic incantation.

The seemingly autoritative documentation on forge (http://forge.typo3.org/projects/typo3v4-mvc/wiki/Documentation) starts off with non-functional links ("400 - Invalid action parameter" from git.typo3.org) and seems dated, pointing to articles with the newest date in late 2011.

The API doc at http://typo3.org/api/typo3cms/class_t_y_p_o3_1_1_c_m_s_1_1_extbase_1_1_core_1_1_bootstrap.html#a890c7dde66b4a9462983759de4d9576a is rather sparse as to what the "TS configuration array" might contain. It also seems a little odd to list two sets of arguments and two different return informations, it is almost as if two methods were concatenated in one entry. Trying to follow the source code leads to initilializeConfiguration where it seems to hand over control to some general routine.

There is a revision e6c08008 committed "over a year ago" which claims to have updated the docs to the current URL, which is supposed to be http://api.typo3.org/extbase/current/ - but this only leads to a page with lots of classes and blank frames with no content. This is the URL that is offered in my copy downloaded a few months ago as well.

So: Where might it be that I can learn how to utilize this extbase bootstrap run method? Source code is fine, but I am not able to determine where the config is actually digested.


回答1:


The Extbase bootstrap can be used to use an Extbase plugin via TypoScript. Which configuration is needed to achieve that (using TYPO3 6.x) can be seen here: Assign plugin in typoscript

This may also be a source - the Fluid and Extbase book, unfortunately not all chapters are translated to english yet (and it is based on TYPO3 4.x): http://docs.typo3.org/typo3cms/ExtbaseGuide/singlehtml/#bootstrap

This is covering the SwitchableControllerActions: http://forge.typo3.org/projects/typo3v4-mvc/wiki/Dispatcher_rework

Use Extbase Plugin in TypoScript




回答2:


this link workss for me may help u tooo....

http://docs.typo3.org/typo3cms/extensions/extension_builder/2.5.2/



来源:https://stackoverflow.com/questions/20123037/where-is-extbase-reference-material-available

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!