code: public static void addCmsEventListener(I_CmsEventListener listener, int[] eventTypes) {
  
          OpenCmsCore.getInstance().getEventManager().addCmsEventListener(listener, eventTypes);
      }
docs: Add a cms event listener that listens only to particular events.<p>
  
  @param listener the listener to add
  @param eventTypes the events to listen for