/**
  * @see parent::getProps()
  */
 function getProps()
 {
     $specs = parent::getProps();
     $specs["nom"] = "str notNull";
     $specs["texte"] = "text notNull";
     $specs["texte_2"] = "text";
     $specs["texte_3"] = "text";
     $specs["texte_4"] = "text";
     $specs["largeur_page"] = "float notNull default|21";
     $specs["hauteur_page"] = "float notNull default|29.7";
     $specs["marge_horiz"] = "float notNull default|0.3";
     $specs["marge_vert"] = "float notNull default|1.3";
     $specs["nb_lignes"] = "num notNull default|8";
     $specs["nb_colonnes"] = "num notNull default|4";
     $specs["hauteur_ligne"] = "float notNull default|8";
     $specs["object_id"] = "ref class|CMbObject meta|object_class purgeable";
     $specs["object_class"] = "str notNull class show|0";
     $specs["font"] = "text show|0";
     $specs["group_id"] = "ref class|CGroups notNull";
     $specs["show_border"] = "bool default|0";
     $specs["text_align"] = "enum list|top|middle|bottom default|top";
     $specs["_write_bold"] = "bool";
     $specs["_write_upper"] = "bool";
     $specs["_width_etiq"] = "float";
     $specs["_height_etiq"] = "float";
     return $specs;
 }
示例#2
0
 /**
  * @see parent::getProps()
  */
 function getProps()
 {
     $props = parent::getProps();
     $props["file_category_id"] = "ref class|CFilesCategory";
     $props["etat_envoi"] = "enum notNull list|oui|non|obsolete default|non show|0";
     $props["author_id"] = "ref class|CMediusers";
     $props["private"] = "bool default|0 show|0";
     $props["annule"] = "bool default|0 show|0";
     $props["doc_size"] = "num min|0 show|0";
     $type_doc = "";
     if (CModule::getActive("cda")) {
         $jdv_type = CCdaTools::loadJV("CI-SIS_jdv_typeCode.xml");
         foreach ($jdv_type as $_type) {
             $type_doc .= $_type["codeSystem"] . "^" . $_type["code"] . "|";
         }
         $type_doc = substr($type_doc, 0, -1);
     }
     $props["type_doc"] = empty($type_doc) ? "str" : "enum list|{$type_doc}";
     $sisra_types = "";
     if (CModule::getActive("sisra")) {
         $sisra_types = CSisraTools::getSisraTypeDocument();
         $sisra_types = implode("|", $sisra_types);
     }
     $props["type_doc_sisra"] = empty($sisra_types) ? "str" : "enum list|{$sisra_types}";
     $props["_extensioned"] = "str notNull";
     $props["_no_extension"] = "str notNull";
     $props["_file_size"] = "str show|1";
     $props["_send_problem"] = "text";
     return $props;
 }
示例#3
0
 /**
  * Get the properties of our class as strings
  *
  * @return array
  */
 function getProps()
 {
     $props = parent::getProps();
     $props['name'] = 'str notNull';
     $props['link'] = 'uri notNull';
     return $props;
 }
示例#4
0
 /**
  * @see parent::getProps()
  */
 function getProps()
 {
     $props = parent::getProps();
     $props["tag_id"] = "ref notNull class|CTag";
     $props["object_id"] .= " cascade seekable";
     return $props;
 }
 /**
  * Get properties specifications as strings
  *
  * @return array
  */
 function getProps()
 {
     $props = parent::getProps();
     $props["date_production"] = "dateTime notNull";
     $props["sender_id"] = "ref class|CInteropSender meta|sender_class";
     $props["sender_class"] = "enum list|CSenderFTP|CSenderSOAP|CSenderFileSystem show|0";
     $props["receiver_id"] = "ref class|CInteropActor";
     $props["group_id"] = "ref notNull class|CGroups autocomplete|text";
     $props["type"] = "str";
     $props["sous_type"] = "str";
     $props["date_echange"] = "dateTime";
     $props["statut_acquittement"] = "str show|0";
     $props["message_valide"] = "bool show|0";
     $props["acquittement_valide"] = "bool show|0";
     $props["id_permanent"] = "str";
     $props["object_id"] = "ref class|CMbObject meta|object_class unlink";
     $props["reprocess"] = "num min|0 max|" . CAppUI::conf("eai max_reprocess_retries") . " default|0";
     $props["master_idex_missing"] = "bool show|0";
     $props["_self_sender"] = "bool";
     $props["_self_receiver"] = "bool notNull";
     $props["_date_min"] = "dateTime";
     $props["_date_max"] = "dateTime";
     $props["_count_exchanges"] = "num";
     $props["_count_msg_invalide"] = "num";
     $props["_count_ack_invalide"] = "num";
     $props["_observations"] = "str";
     $props["_doc_errors_msg"] = "str";
     $props["_doc_errors_ack"] = "str";
     return $props;
 }
 /**
  * @see parent::getProps()
  */
 function getProps()
 {
     $specs = parent::getProps();
     $specs["facture_id"] = "ref notNull class|CFacture meta|facture_class";
     $specs["facture_class"] = "enum notNull list|CFactureCabinet|CFactureEtablissement show|0 default|CFactureCabinet";
     $specs["object_id"] = "ref notNull class|CFacturable meta|object_class";
     return $specs;
 }
 /**
  * Get the properties of our class as strings
  *
  * @return array
  */
 function getProps()
 {
     $props = parent::getProps();
     $props["object_id"] = "ref notNull class|CMbObject meta|object_class cascade";
     $props["submissionlot_id"] = "ref class|CXDSSubmissionLot";
     $props["object_class"] = "enum list|CCompteRendu|CFile notNull";
     return $props;
 }
 /**
  * @see parent::getProps()
  */
 function getProps()
 {
     $specs = parent::getProps();
     $specs["object_id"] = "ref notNull class|CFacture meta|object_class";
     $specs["object_class"] = "enum notNull list|CFactureCabinet|CFactureEtablissement show|0 default|CFactureCabinet";
     $specs["journal_id"] = "ref notNull class|CJournalBill autocomplete|nom";
     return $specs;
 }
 /**
  * @see parent::getProps()
  */
 function getProps()
 {
     $props = parent::getProps();
     $props["uf_id"] = "ref class|CUniteFonctionnelle notNull";
     $props["object_id"] = "ref class|CMbObject meta|object_class cascade notNull";
     $props["object_class"] = "enum list|CService|CChambre|C**t|CMediusers|CFunctions|CSejour|CProtocole show|0 notNull";
     return $props;
 }
 /**
  * Get the properties of our class as strings
  *
  * @return array
  */
 function getProps()
 {
     $props = parent::getProps();
     $props["user_id"] = "ref class|CMediusers notNull";
     $props["datetime"] = "dateTime notNull";
     $props["group_id"] = "ref class|CGroups notNull";
     return $props;
 }
示例#11
0
 /**
  * @see parent::getProps()
  */
 function getProps()
 {
     $props = parent::getProps();
     $props["owner_id"] = "ref notNull class|CMediusers cascade";
     $props["starting_formula"] = "str notNull";
     $props["closing_formula"] = "str notNull";
     $props["object_id"] .= " cascade";
     return $props;
 }
 /**
  * @see parent::getProps()
  */
 function getProps()
 {
     $specs = parent::getProps();
     $specs['quantity'] = 'num notNull';
     $specs['date'] = 'dateTime notNull';
     $specs['description'] = 'text';
     $specs['object_id'] = 'ref notNull class|CProductStock meta|object_class';
     return $specs;
 }
示例#13
0
 /**
  * @see parent::getProps
  */
 function getProps()
 {
     $props = parent::getProps();
     $props["function_id"] = "ref class|CFunctions notNull";
     $props["object_id"] = "ref notNull class|CSourcePrinter meta|object_class";
     $props["object_class"] = "str notNull class show|0";
     $props["label"] = "str";
     return $props;
 }
示例#14
0
 /**
  * @see parent::getProps()
  */
 function getProps()
 {
     $props = parent::getProps();
     $props["object_class"] = "enum notNull list|CFactureCabinet|CFactureEtablissement default|CFactureCabinet";
     $props["date"] = "date notNull";
     $props["montant"] = "currency notNull decimals|2";
     $props["description"] = "text";
     return $props;
 }
 /**
  * @see parent::getProps()
  */
 function getProps()
 {
     $specs = parent::getProps();
     $specs["compte_rendu_id"] = "ref class|CCompteRendu notNull cascade";
     $specs["object_class"] = "enum list|CMedecin|CPatient|CCorrespondantPatient notNull";
     $specs["quantite"] = "num pos notNull min|1 default|1";
     $specs["tag"] = "str";
     return $specs;
 }
 /**
  * @see parent::getProps()
  */
 function getProps()
 {
     $props = parent::getProps();
     $props["nom"] = "str notNull seekable";
     /*$specs["object_id"]    = "ref notNull class|CMbObject meta|object_class";*/
     $props["object_class"] = "enum list|CPrestationPonctuelle|CPrestationJournaliere";
     $props["rank"] = "num pos default|1";
     $props["color"] = "color show|0";
     $props["facturable"] = "bool default|1";
     return $props;
 }
 /**
  * @see parent::getProps
  */
 function getProps()
 {
     $props = parent::getProps();
     $props["object_id"] = "ref notNull class|CInteropActor meta|object_class cascade";
     $props["object_class"] = "str notNull show|0";
     $props["message"] = "str notNull";
     $props["active"] = "bool default|0";
     $props["profil"] = "str";
     $props["transaction"] = "str";
     return $props;
 }
示例#18
0
 /**
  * Get properties specifications as strings
  *
  * @return array
  */
 function getProps()
 {
     $specs = parent::getProps();
     $specs["id400"] = "str notNull maxLength|80";
     $specs["tag"] = "str maxLength|40";
     $specs["datetime_create"] = "dateTime notNull";
     $specs["last_update"] = "dateTime notNull";
     $specs["_start_date"] = "dateTime";
     $specs["_end_date"] = "dateTime";
     return $specs;
 }
 /**
  * @see parent::getProps()
  */
 function getProps()
 {
     $props = parent::getProps();
     $props["object_class"] = "enum notNull list|CExClassField|CExClassMessage|CExClassFieldSubgroup";
     $props["object_id"] = "ref notNull class|CMbObject meta|object_class cascade";
     $props["predicate_id"] = "ref class|CExClassFieldPredicate cascade";
     $props["type"] = "enum list|" . implode("|", array_keys(self::$_style_types));
     $props["value"] = "str";
     $props["_value"] = "str";
     return $props;
 }
 /**
  * @see parent::getProps()
  */
 function getProps()
 {
     $props = parent::getProps();
     $props["feature"] = "str notNull";
     $props["value"] = "str";
     $props["object_id"] = "ref class|CMbObject meta|object_class";
     // not notNull
     $props["object_class"] = "str class show|0";
     // not notNull
     return $props;
 }
示例#21
0
 /**
  * Get the properties of our class as strings
  *
  * @return array
  */
 function getProps()
 {
     $props = parent::getProps();
     $props["object_id"] = "ref notNull class|CMbObject meta|object_class cascade";
     $props["ex_class_id"] = "ref notNull class|CExClass";
     $props["ex_object_id"] = "ref notNull class|CExObject";
     $props["level"] = "enum notNull list|object|ref1|ref2|add default|object";
     $props["group_id"] = "ref notNull class|CGroups";
     $props["datetime_create"] = "dateTime";
     $props["owner_id"] = "ref class|CMediusers";
     return $props;
 }
示例#22
0
 /**
  * @see parent::getProps()
  */
 function getProps()
 {
     $props = parent::getProps();
     $props["user_id"] = "ref class|CMediusers";
     $props["public"] = "bool notNull default|1";
     $props["degre"] = "enum notNull list|low|medium|high default|low";
     $props["date"] = "dateTime notNull";
     $props["libelle"] = "str notNull";
     $props["text"] = "text";
     $props["object_id"] .= " cascade";
     return $props;
 }
 /**
  * @see parent::getProps()
  */
 function getProps()
 {
     $specs = parent::getProps();
     $specs['name'] = 'str notNull seekable';
     $specs['desc'] = 'text seekable';
     $specs['position'] = 'num min|1';
     $specs['group_id'] = 'ref notNull class|CGroups';
     $specs['object_class'] = 'enum notNull list|CGroups|CService|CBlocOperatoire';
     $specs['_before'] = 'ref class|CProductStockLocation autocomplete|name|true';
     $specs['_type'] = 'str';
     return $specs;
 }
 /**
  * @see parent::getProps()
  */
 function getProps()
 {
     $specs = parent::getProps();
     $specs["object_id"] = "ref class|CMbObject meta|object_class cascade";
     $specs["object_class"] = "enum list|CPrescriptionLineElement|CPrescriptionLineMedicament|CPrescriptionLineMix show|0";
     $specs["sejour_id"] = "ref notNull class|CSejour";
     $specs["user_id"] = "ref notNull class|CMediusers";
     $specs["degre"] = "enum notNull list|low|high|info default|low";
     $specs["date"] = "dateTime notNull";
     $specs["text"] = "text helped|degre";
     $specs["type"] = "enum list|reevaluation";
     return $specs;
 }
示例#25
0
 /**
  * @see parent::getProps()
  */
 function getProps()
 {
     $props = parent::getProps();
     $props["tag"] = "str notNull";
     $props["level"] = "enum list|low|medium|high default|medium notNull";
     $props["comments"] = "text";
     $props["creation_date"] = "dateTime";
     $props["handled"] = "bool notNull default|0";
     $props["handled_date"] = "dateTime";
     $props["handled_user_id"] = "ref class|CMediusers";
     $props["object_id"] .= " cascade";
     return $props;
 }
 /**
  * @see parent::getProps()
  */
 function getProps()
 {
     $props = parent::getProps();
     $props["personnel_id"] = "ref notNull class|CPersonnel";
     $props["parent_affectation_id"] = "ref class|CAffectationPersonnel";
     $props["realise"] = "bool notNull";
     $props["debut"] = "dateTime";
     $props["fin"] = "dateTime moreThan|debut";
     $props["object_class"] = "enum list|CBloodSalvage|COperation|CPlageOp";
     $props["_debut"] = "time";
     $props['_debut_dt'] = 'dateTime';
     $props["_fin"] = "time moreThan|_debut";
     $props['_fin_dt'] = 'dateTime moreThan|_debut_dt';
     return $props;
 }
示例#27
0
 /**
  * @see parent::getProps()
  */
 function getProps()
 {
     $props = parent::getProps();
     $props["object_id"] = "ref notNull class|CMbObject meta|object_class unlink";
     $props["object_class"] = "str notNull show|0";
     // Ne pas mettre "class" !! (pour les CExObject)
     $props["user_id"] = "ref notNull class|CUser";
     $props["date"] = "dateTime notNull";
     $props["type"] = "enum notNull list|create|store|merge|delete";
     $props["fields"] = "text show|0";
     $props["ip_address"] = "ipAddress";
     $props["extra"] = "text show|0";
     $props["_date_min"] = "dateTime";
     $props["_date_max"] = "dateTime moreEquals|_date_min";
     return $props;
 }
示例#28
0
 /**
  * @see parent::getProps()
  */
 function getProps()
 {
     $props = parent::getProps();
     $props["object_class"] = "enum notNull list|CFactureCabinet|CFactureEtablissement default|CFactureCabinet";
     $props["date"] = "date";
     $props["etat"] = "enum notNull list|emise|regle|renouvelle default|emise";
     $props["numero"] = "num notNull min|1 max|10 default|1";
     $props["du_patient"] = "currency decimals|2";
     $props["du_tiers"] = "currency decimals|2";
     $props["statut"] = "enum list|inactive|first|second|third|contentieux|poursuite";
     $props["poursuite"] = "enum list|defaut|continuation|etranger|faillite|hors_pays|deces|inactive|saisie|introuvable";
     $props["envoi_xml"] = "bool default|1";
     $props["facture"] = "enum notNull list|-1|0|1 default|0";
     $props["request_date"] = "dateTime";
     $props["_montant"] = "currency decimals|2";
     return $props;
 }
示例#29
0
 /**
  * @see parent::getProps()
  */
 function getProps()
 {
     $props = parent::getProps();
     $props['object_class'] = 'enum notNull list|CFactureCabinet|CFactureEtablissement show|0 default|CFactureCabinet';
     $props['banque_id'] = 'ref class|CBanque';
     $props['date'] = 'dateTime notNull';
     $props['montant'] = 'currency notNull';
     $props['emetteur'] = 'enum notNull list|patient|tiers';
     $props['mode'] = "enum notNull list|cheque|CB|especes|virement|BVR|autre";
     $props['reference'] = 'str';
     $props['num_bvr'] = 'str maxLength|50';
     $props['tireur'] = 'str';
     $props["debiteur_id"] = "ref class|CDebiteur";
     $props["debiteur_desc"] = "str";
     $props["lock"] = "bool default|0";
     $props["_force_regle_acte"] = "bool default|0";
     return $props;
 }
 /**
  * @see parent::getProps()
  */
 function getProps()
 {
     $props = parent::getProps();
     $props["object_id"] = "ref class|CMbObject meta|object_class nullify";
     $props["object_class"] = "enum list|CPrescriptionLineElement|CPrescriptionLineMedicament|CPrescriptionLineComment|CCategoryPrescription|CAdministration|CPrescriptionLineMix show|0";
     $props["sejour_id"] = "ref notNull class|CSejour";
     $props["user_id"] = "ref notNull class|CMediusers";
     $props["degre"] = "enum notNull list|low|high default|low";
     $props["date"] = "dateTime notNull";
     $props["date_max"] = "dateTime";
     $props["text"] = "text helped|type|object_id";
     $props["type"] = "enum list|data|action|result";
     $props["libelle_ATC"] = "text";
     $props["locked"] = "bool default|0";
     $props["_text_data"] = "text helped|type|object_id";
     $props["_text_action"] = "text helped|type|object_id";
     $props["_text_result"] = "text helped|type|object_id";
     return $props;
 }