Implement your eZ Publish business logic in php class.