[TYPO3-core] RFC: #7954: ToolbarItem Classes Xclass doesn't work

Oliver Hader oliver at typo3.org
Fri Mar 28 19:22:08 CET 2008


Hi Steffen,

Steffen Kamper schrieb:
> i have a followup for #7954 and put it here because it's the same issue.
> 
> private declare in class.clearcachemenu.php make it impossible to extend and 
> add own items.
> $cacheActions has to be public
> $backendReference has to be protected.
> 
> with this change it's possible to add own items in extended class:
> 
> parent::__construct($backendReference);
> $this->cacheActions[] = array(...);
> 
> patch is attached, also in #7954.

Let's keep these things separated in their own RFCs. #7954 is one thing 
and the XCLASSing of the stuff in typo3/classes/ is a new thing - e.g. 
in BackendSearchMenu there's the same thing again...

olly
-- 
Oliver Hader
TYPO3 Core Team


More information about the TYPO3-team-core mailing list