R
ragtek
Guest
It would be cool, if we could create the "Code Event Listener Files" automatic, if we add a "Code Event Listener"
ATM, the system checks, if the class and the method exist.
If it doesn't exist, we only get a errormessage
Ragtek_AddonID_Eventlistener_Foo::Bar
The Interface is checking, if Ragtek_AddonID_Eventlistener_Foo exists with an method Bar
If it doesn't exist, the script could create a skeleton where we only have to add the code^^
Next thing, which could be maybe cool for 3rd-party devs, would be to create at least the addon directory automatic after creating a add-on in the Admincenter.
ATM, the system checks, if the class and the method exist.
If it doesn't exist, we only get a errormessage
For example:Error
Please enter a valid callback method.
Ragtek_AddonID_Eventlistener_Foo::Bar
The Interface is checking, if Ragtek_AddonID_Eventlistener_Foo exists with an method Bar
If it doesn't exist, the script could create a skeleton where we only have to add the code^^
PHP:
class Ragtek_AddonID_Eventlistener_Foo
{
static public function Foo(args)
{
}
}
Next thing, which could be maybe cool for 3rd-party devs, would be to create at least the addon directory automatic after creating a add-on in the Admincenter.
Upvote
0