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