ExtensionDirectories[]= directory1
ExtensionDirectories[]= directory2
...
eZ publish will look for actions in " ExtensionDirectory/ directory/actions/content_actionhandler.php". In that file eZ publish will look for the function directory_ContentActionHandler. This function will be invoked when your action is triggered.
The function must accept three parameters: "module", "http" and "objectID".