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

Ernesto Baschny [cron IT] ernst at cron-it.de
Mon May 18 11:18:45 CEST 2009


Jochen Rau wrote: on 18.05.2009 11:13:
> 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.

Agreed, that what exactly what I had in mind also. Thanks Jochen!

Cheers,
Ernesto


More information about the TYPO3-team-core mailing list