Ejemplo n.º 1
0
 private function _addtask($server)
 {
     $queuelist = system_queue::getList();
     if ($queuelist) {
         foreach ($queuelist as $key => $value) {
             $mess = serialize($value);
             $server->task($mess);
         }
     }
 }