[TYPO3-core] RFC #11105: Feature: Add a method to register an Extbase plugin

Steffen Kamper info at sk-typo3.de
Mon May 18 11:20:50 CEST 2009


Hi Jochen,

Jochen Rau schrieb:
> Hi,
> 
> I really like the solution to have the process of registering a plugin 
> inside of Extbase. Extbase should depend on TYPO3 not the other way 
> around ;-). I have already implemented and tested:
> 
> Tx_Extbase_Utility_Plugin::registerPlugin(
>     'BlogExample',
>     'Pi1',
>     'A Blog Example',
>     array(
>         'Blog' => 'index,show,new,create,delete,deleteAll',
>         'Post' => 'index,show,new,create,delete,edit,update',
>         'Comment' => 'create',
>         ),
>     array(
>         'Blog' => 'delete,deleteAll,edit,update',
>         'Post' => 'show,delete,edit,update',
>         'Comment' => 'create',
>         )
> );
> 
> It works. So, if you agree, I will commit this with the next revision of 
> extbase.
> 

yeah, go ahead.

What do you think with the constant, so we could use it in localconf like
if (EXTBASE_LOADED) {...}
?

vg Steffen


More information about the TYPO3-team-core mailing list