更新时间:2023-11-26 15:36:52
您正在搜索属性vendorName
.因此,在您的情况下应该是:
You're searching for the property vendorName
. So in your case it should be:
10 = USER
10 {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
pluginName = Sermons
extensionName = VmfdsSermons
vendorName = TYPO3
[...]
我还在ext_localconf.php
中使用了供应商名称空间:
I also used the vendor namespace within ext_localconf.php
:
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'<Vendor>.' . $_EXTKEY,
[...]
我通过使用调试器找到了答案.我从\TYPO3\CMS\Extbase\Mvc\Dispatcher::resolveController()
开始,然后跳到TYPO3\CMS\Extbase\Mvc\Request::getControllerObjectName()
.有一个成员controllerVendorName
,因此我在Extbase中搜索了\TYPO3\CMS\Extbase\Mvc\Request::setControllerVendorName()
的二传手,正好是setControllerVendorName
,并在\TYPO3\CMS\Extbase\Mvc\Web\RequestBuilder::build()
中找到了一个匹配项,其中一个名为vendorName
的成员,就在答案是\TYPO3\CMS\Extbase\Mvc\Web\RequestBuilder::loadDefaultValues()
上面的方法!
I found the answer by using the debugger. I started at \TYPO3\CMS\Extbase\Mvc\Dispatcher::resolveController()
and jumped into TYPO3\CMS\Extbase\Mvc\Request::getControllerObjectName()
. There is a member controllerVendorName
, so I searched in Extbase for the setter of \TYPO3\CMS\Extbase\Mvc\Request::setControllerVendorName()
, precisely just for setControllerVendorName
, and got a match in \TYPO3\CMS\Extbase\Mvc\Web\RequestBuilder::build()
, where is a member called vendorName
, and just in the method above \TYPO3\CMS\Extbase\Mvc\Web\RequestBuilder::loadDefaultValues()
, is the answer!