示例#1
0
                            if ($_list->multiple) {
                                $concept->prop = "set vertical|1 typeEnum|checkbox";
                                if ($msg = $concept->store()) {
                                    CAppUI::setMsg("Ligne {$line_number} : {$msg}", UI_MSG_WARNING);
                                    continue;
                                } else {
                                    CAppUI::setMsg("{$concept->_class}-msg-modify", UI_MSG_OK);
                                }
                            }
                        }
                    }
                    // TAG BINDING
                    $tag_item = new CTagItem();
                    $tag_item->setObject($concept);
                    $tag_item->tag_id = $tag2->_id;
                    $tag_item->loadMatchingObject();
                    if (!$tag_item->_id) {
                        if ($msg = $tag_item->store()) {
                            CAppUI::setMsg("Ligne {$line_number} : {$msg}", UI_MSG_WARNING);
                        } else {
                            CAppUI::setMsg("{$tag_item->_class}-msg-create", UI_MSG_OK);
                        }
                    }
                }
                break;
        }
        fclose($fp);
        CAppUI::setMsg("Import terminé", UI_MSG_OK);
    }
}
// Création du template