Forums / Developer / adding functions to kernel modules

adding functions to kernel modules

Author Message

Victor Donich

Friday 11 March 2005 8:23:09 am

Hello

Are there any common procedure to add some functions to a kernel modules? For example, what should I do if I wish to make simplier publishing with easier permissions handling? It would be nice to have a 'publish' function in 'content' module so I wish to write it. Is there any way or overloading whole content module is required?

Derick Rethans

Tuesday 15 March 2005 12:06:17 am

Hello,

The publish process and permission handling are very integrated into the core of eZ publish, and this can not be overridden in an extension. What you're basically requesting is a way to rewrite those parts of eZ publish which you *can* do, but you've to rewrite a few PHP files in the standard distribution (overriding the content module). I can assure you that that would be virtually impossible though.

Derick