You are on page 1of 1

<?

php
/**
* Bibliographic custom fields
*
* Copyright (C) 2010 Arie Nugraha (dicarve@yahoo.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*/

/**
* Here you can add custom field to SLiMS Bibliographic database
* The field you define here must also exists in 'biblio_custom' table in database
* field 'type' can be on of these: 'text', 'longtext', 'numeric', 'dropdown', 'checklist', 'date' or 'choice'
*
*/

$biblio_custom_fields = array(
'customfield1' => array(
'dbfield' => 'tahunpengadaan', // name of field in 'biblio_custom' table in database, make sure you
already define it!
'label' => __('Tahun Pengadaan'), // label of field in form
'type' => 'text', // type of field
'default' => '', // default value of field
'max' => '50', // maximum character to enter in 'text' field type
'data' => false, // an array of data for 'dropdown', 'checklist' or 'choice'
'indexed' => true, // NOT APPLICABLE YET, FOR FUTURE RELEASE USE
'width' => 50), // width of field in form for 'text' field type, maximum is 100

);

?>

You might also like