static function loadAndRegisterAllTypes() { $allowedTypes = eZNotificationEventType::allowedTypes(); foreach( $allowedTypes as $type ) { eZNotificationEventType::loadAndRegisterType( $type ); } }