static function quickList($method)
 {
     $pfTaskjob = new PluginFusioninventoryTaskjob();
     $pfTask = new PluginFusioninventoryTask();
     $a_list = $pfTaskjob->find("`method`='" . $method . "'");
     echo "<table class='tab_cadrehov' style='width:950px'>";
     echo "<tr class='tab_bg_1'>";
     echo "<th>" . __('Name') . "</th>";
     echo "<th>" . __('Active') . "</th>";
     echo "<th>" . __('Scheduled date', 'fusioninventory') . "</th>";
     echo "<th>" . __('Periodicity', 'fusioninventory') . "</th>";
     echo "<th>" . __('Definition', 'fusioninventory') . "</td>";
     echo "<th>" . __('Action', 'fusioninventory') . "</th>";
     echo "</tr>";
     foreach ($a_list as $data) {
         $pfTaskjob->getFromDB($data['id']);
         $pfTask->getFromDB($data['plugin_fusioninventory_tasks_id']);
         echo "<tr class='tab_bg_1'>";
         $link_item = $pfTaskjob->getFormURL();
         $link = $link_item;
         $link .= (strpos($link, '?') ? '&amp;' : '?') . 'id=' . $pfTaskjob->fields['id'];
         echo "<td><a href='" . $link . "'>" . $pfTaskjob->getNameID(1) . "</a></td>";
         echo "<td>" . Dropdown::getYesNo($pfTask->fields['is_active']) . "</td>";
         echo "<td>" . $pfTask->fields['datetime_start'] . "</td>";
         $a_time = '';
         switch ($pfTask->fields['periodicity_type']) {
             case 'minutes':
                 $a_time = $pfTask->fields['periodicity_count'] . " " . strtolower(__('Minute(s)', 'fusioninventory'));
                 break;
             case 'hours':
                 $a_time = $pfTask->fields['periodicity_count'] . " " . strtolower(__('hour(s)', 'fusioninventory'));
                 break;
             case 'days':
                 $a_time = $pfTask->fields['periodicity_count'] . " " . __('day(s)', 'fusioninventory');
                 break;
             case 'months':
                 $a_time = $pfTask->fields['periodicity_count'] . " " . __('months');
                 break;
         }
         echo "<td>" . $a_time . "</td>";
         $a_defs = importArrayFromDB($data['definition']);
         echo "<td>";
         foreach ($a_defs as $datadef) {
             foreach ($datadef as $itemtype => $items_id) {
                 $class = new $itemtype();
                 $class->getFromDB($items_id);
                 echo $class->getLink(1) . " (" . $class->getTypeName() . ")<br/>";
             }
         }
         echo "</td>";
         echo "<td>";
         $a_acts = importArrayFromDB($data['action']);
         foreach ($a_acts as $dataact) {
             foreach ($dataact as $itemtype => $items_id) {
                 $class = new $itemtype();
                 $itemname = $class->getTypeName();
                 $class->getFromDB($items_id);
                 $name = '';
                 if ($items_id == '.1') {
                     $name = __('Auto managenement dynamic of agents', 'fusioninventory');
                 } else {
                     if ($items_id == '.2') {
                         $name = __('Auto managenement dynamic of agents (same subnet)', 'fusioninventory');
                     } else {
                         $name = $class->getLink(1);
                     }
                 }
                 echo $name . ' (' . $itemname . ')<br/>';
             }
         }
         echo "</td>";
         echo "</tr>";
     }
     echo "</table>";
 }