/** * Initialize the class specifications * * @return CMbFieldSpec */ function getSpec() { $spec = parent::getSpec(); $spec->table = "hprimsante_config"; $spec->key = "hprimsante_config_id"; $spec->uniques["uniques"] = array("sender_id", "sender_class"); return $spec; }
/** * Initialize the class specifications * * @return CMbFieldSpec */ function getSpec() { $spec = parent::getSpec(); $spec->table = "dicom_configs"; $spec->key = "dicom_config_id"; $spec->uniques['uniques'] = array('sender_id', 'sender_class'); return $spec; }