Php typo3中proc函数中的参数
请给我解释一下这个函数Php typo3中proc函数中的参数,php,plugins,typo3,wizard,Php,Plugins,Typo3,Wizard,请给我解释一下这个函数 function proc($wizardItems) { $wizardItems['plugins_tx_examples_pierror'] = array( 'icon'=>\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('examples') .'Resources/Public/Images/PiErrorWizard.png',
function proc($wizardItems) {
$wizardItems['plugins_tx_examples_pierror'] = array(
'icon'=>\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('examples') .'Resources/Public/Images/PiErrorWizard.png',
'title' =>$GLOBALS['LANG']>sL('LLL:EXT:examples/locallang.xlf:pierror_wizard_title'),
'description' =>$GLOBALS['LANG']>sL('LLL:EXT:examples/locallang.xlf:pierror_wizard_description'),
'params' =>'&defVals[tt_content[CType]=list[list_type]=examples_pierror'
);
return $wizardItems;
}
}
此函数在扩展中用于在扩展向导中显示扩展。我想您可以在这里找到最好的解释 希望有帮助