IDKategorieVersionAuswirkungReproduzierbarMeldungsdatumLetzte Aktualisierung
111[openPHPnuke] Core Feature WunschImmer08.12.2003 22:38:1308.12.2003 22:49:08

Reporter[manne]Status anzeigenÖffentlich
 PrioritätNormal
LösungOffenStatusNeu
 ProjektionKeine
AufwandKeiner 

Beginn
Fertigstellung

ZusammenfassungWould it be nice to have a 'RegisterFunction' function.
BeschreibungDear developers,

here is a tought...
Would it be nice to have a 'RegisterFunction' function.

Example:
RegisterFunction('funtionname', 'parameter', 'includefile');

With that I can do something like:
$coreOPNclass->call('functionname', 'parameters');

This will give me some extra flexibility to register function that can be registered by a module so my theme can use it.

Currently there is a hard coded function on core called show_banner, but when I want to create my own banner module I need to create a hard coded function in the core.

The RegisterFunction function will give me the ability to create extra function in de core that are loaded/created by a module that can be used in my theme. The core can do the checking of the module is installed or not so my theme is not disturbed of the module is installed or not.

Get the idea?

Regards,

Ries
Zusätzliche InformationWishticket 2 openphpnuke.com