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".