Skip to content
Snippets Groups Projects

Hotline 6.44

Merged Ghislain Loas requested to merge hotline_6.44 into master
Compare and
+ 25
28
Preferences
Compare changes
Files
@@ -18,15 +18,10 @@
* along with AFI-OPAC 2.0; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
class Class_NoticeUnimarc_Writer extends Class_NoticeUnimarc {
protected $_pattern_subfield_cache = [];
// ---------------------------------------------------
// Decoupage de l'enregistrement
// ---------------------------------------------------
public function setNotice($string, $type_accents = 0) {
$this->reset_notice();
$this->type_accents = $type_accents;
@@ -117,14 +112,7 @@ class Class_NoticeUnimarc_Writer extends Class_NoticeUnimarc {
$this->update();
}
// ----------------------------------------------------------------
// Decoupage d'un champ complet par son indice
// ----------------------------------------------------------------
public function decoupe_field($label, $content) {
$sc = array('bloc' => preg_replace('/' . $this->rgx_field_end . '/',
'',
@@ -153,7 +141,6 @@ class Class_NoticeUnimarc_Writer extends Class_NoticeUnimarc {
}
public function makeZoneByValeurs($indicateurs, $sous_champ, $valeurs) {
$new = $indicateurs;
foreach ($valeurs as $valeur)
@@ -809,6 +796,5 @@ class Class_NoticeUnimarc_Writer extends Class_NoticeUnimarc {
call_user_func_array([$this, 'add_field'], $params);
return $this;
}
}
?>
\ No newline at end of file