1
我想稍微改變函數\TYPO3\CMS\Backend\View\PageLayoutView::getContentRecordsPerColumn
。但我不喜歡覆蓋整個班級。附近的編程代碼中沒有掛鉤和沒有信號。如何覆蓋函數 TYPO3 CMS 後端視圖 PageLayoutView :: getContentRecordsPerColumn
這怎麼辦?
我想稍微改變函數\TYPO3\CMS\Backend\View\PageLayoutView::getContentRecordsPerColumn
。但我不喜歡覆蓋整個班級。附近的編程代碼中沒有掛鉤和沒有信號。如何覆蓋函數 TYPO3 CMS 後端視圖 PageLayoutView :: getContentRecordsPerColumn
這怎麼辦?
你可以寫一個擴展
\TYPO3\CMS\Backend\View\PageLayoutView
,只是重寫 方法從Andreas FernandezgetContentRecordsPerColumn()
回答typo3.slack.com
的XClass