Skip to content
Snippets Groups Projects
Commit c80c795f authored by Ghislain Loas's avatar Ghislain Loas
Browse files

hotline #20607 orphee_integration_issues add orphee data profil

parent 7e37d31f
Branches
Tags
5 merge requests!715Master,!688Master,!687Hotline master,!683backport fix to master,!673Hotline #20607 orphee integration issues
......@@ -94,6 +94,45 @@ class Class_IntProfilDonnees extends Storm_Model_Abstract {
}
public static function forOrphee() {
return self::
newInstance(['libelle' => 'Unimarc Orphée',
'accents' => self::ENCODING_ISO2709,
'rejet_periodiques' => '0',
'id_article_periodique' => self::SERIAL_FORMAT_ORPHEE,
'type_fichier' => self::FT_RECORDS,
'format' => self::FORMAT_UNIMARC,
'attributs' =>
[['type_doc' =>
[[ 'code' => '0', 'label' => '', 'zone_995' => '' ],
[ 'code' => '1', 'label' => 'am;na', 'zone_995' => 'au;uu;iu;LIV;MS' ],
[ 'code' => '2', 'label' => 'as', 'zone_995' => 'PER'],
[ 'code' => '3', 'label' => 'i;j', 'zone_995' => 'jz;CD;LIVCD;LIVK7;K7'],
[ 'code' => '4', 'label' => 'g', 'zone_995' => 'gz;DIAPO;DVD;VHS;VHD;VD'],
[ 'code' => '5', 'label' => 'l;m', 'zone_995' => 'lu;CDR'],
[ 'code' => '6', 'label' => '', 'zone_995' => 'DOS' ],
[ 'code' => '7', 'label' => '', 'zone_995' => '' ],
[ 'code' => '8', 'label' => '', 'zone_995' => 'WEB;MF']
],
'champ_code_barres' => 'a',
'champ_cote' => 'f',
'champ_type_doc' => 'c',
'champ_genre' => '',
'champ_section' => 'w',
'champ_emplacement' => 'x',
'champ_annexe' => 'g'
],
['zone' => '995',
'champ' => '5',
'format' => self::NOVELTY_DATE_FORMAT_VALUES,
'jours' => '',
'valeurs' => '1']
]
]
);
}
public static function forALOES() {
$type_doc = [['code' => '0', 'label' => '', 'zone_995' => ''],
['code' => '1', 'label' => 'am;na', 'zone_995' => 'LIV;MS;az'],
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment