function clearDesigns()
 {
     $designs = $this->getDesigns();
     if (is_array($designs)) {
         foreach ($this->getDesigns() as $id_design) {
             $design = new Design($this->db);
             $design->setId($id_design);
             if (!$design->delete()) {
                 $this->last_error = $design->last_error;
                 return false;
             }
         }
         return true;
     } else {
         $this->last_error = "Empty Design Array: " . $this->last_error;
         return false;
     }
 }