public static function createWorker(CronkGridTemplateXmlParser $template, AgaviContext $context, $connection = "icinga")
 {
     if ($template->hasSection('type')) {
         $className = $template->getSection('type') . 'CronkTemplateWorker';
         if (class_exists($className)) {
             return new $className($template, $context, $connection);
         }
     }
     return new GenericCronkTemplateWorker($template, $context);
 }