Location: PHPKode > projects > GeekDDB > geekddb/internal_table.php
<?php
/*
***********************************************************************************
DaDaBIK (DaDaBIK is a DataBase Interfaces Kreator) http://www.dadabik.org/
Copyright (C) 2001-2002  Eugenio Tacchini

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., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

If you want to contact me by e-mail, this is my address: hide@address.com

***********************************************************************************

I am instructor and Web developer at the Master of MiNE (Management in the Network Economy) Program, a Berkeley-style program in Italy.
If you want to know more about it please visit: http://mine.pc.unicatt.it/

***********************************************************************************
*/
?>
<?php
$int_fields_ar[0][0] = "Name of the field:";
$int_fields_ar[0][1] = "name_field";

$int_fields_ar[1][0] = "Label:";
$int_fields_ar[1][1] = "label_field";
$int_fields_ar[1][2] = "text";
$int_fields_ar[1][3] = "25";

$int_fields_ar[2][0] = "Field type:";
$int_fields_ar[2][1] = "type_field";
$int_fields_ar[2][2] = "select_custom";
$int_fields_ar[2][3] = "text/textarea/password/insert_date/update_date/date/select_single/select_multiple_menu/select_multiple_checkbox/generic_file/image_file/ID_user/password_record";

$int_fields_ar[3][0] = "Content type:";
$int_fields_ar[3][1] = "content_field";
$int_fields_ar[3][2] = "select_custom";
$int_fields_ar[3][3] = "alphabetic/alphanumeric/numeric/web/email/phone/city";

$int_fields_ar[4][0] = "Field present in the search form?";
$int_fields_ar[4][1] = "present_search_form_field";
$int_fields_ar[4][2] = "select_yn";

$int_fields_ar[5][0] = "Field present in the results page?";
$int_fields_ar[5][1] = "present_results_search_field";
$int_fields_ar[5][2] = "select_yn";

$int_fields_ar[6][0] = "Field present in the details page?";
$int_fields_ar[6][1] = "present_details_form_field";
$int_fields_ar[6][2] = "select_yn";

$int_fields_ar[7][0] = "Field present in the insert/update form?";
$int_fields_ar[7][1] = "present_insert_form_field";
$int_fields_ar[7][2] = "select_yn";

$int_fields_ar[8][0] = "Is the field a required one?";
$int_fields_ar[8][1] = "required_field";
$int_fields_ar[8][2] = "select_yn";

$int_fields_ar[9][0] = "Check for duplicated entries during insert?";
$int_fields_ar[9][1] = "check_duplicated_insert_field";
$int_fields_ar[9][2] = "select_yn";


$int_fields_ar[10][0] = "Other choices allowed?";
$int_fields_ar[10][1] = "other_choices_field";
$int_fields_ar[10][2] = "select_yn";

$int_fields_ar[11][0] = "Option to include:";
$int_fields_ar[11][1] = "select_options_field";
$int_fields_ar[11][2] = "text";
$int_fields_ar[11][3] = "25";

$int_fields_ar[12][0] = "Foreign key field";
$int_fields_ar[12][1] = "foreign_key_field";
$int_fields_ar[12][2] = "text";
$int_fields_ar[12][3] = "25";

$int_fields_ar[13][0] = "DB name of the primary key";
$int_fields_ar[13][1] = "db_primary_key_field";
$int_fields_ar[13][2] = "text";
$int_fields_ar[13][3] = "25";

$int_fields_ar[14][0] = "Search operators:";
$int_fields_ar[14][1] = "select_type_field";
$int_fields_ar[14][2] = "text";
$int_fields_ar[14][3] = "25";

$int_fields_ar[15][0] = "Prefix:";
$int_fields_ar[15][1] = "prefix_field";
$int_fields_ar[15][2] = "text";
$int_fields_ar[15][3] = "25";

$int_fields_ar[16][0] = "Default value:";
$int_fields_ar[16][1] = "default_value_field";
$int_fields_ar[16][2] = "text";
$int_fields_ar[16][3] = "25";

$int_fields_ar[17][0] = "Width in px:";
$int_fields_ar[17][1] = "width_field";
$int_fields_ar[17][2] = "text";
$int_fields_ar[17][3] = "2";

$int_fields_ar[18][0] = "Height in px:";
$int_fields_ar[18][1] = "height_field";
$int_fields_ar[18][2] = "text";
$int_fields_ar[18][3] = "2";

$int_fields_ar[19][0] = "Maxlenght:";
$int_fields_ar[19][1] = "maxlength_field";
$int_fields_ar[19][2] = "text";
$int_fields_ar[19][3] = "4";

$int_fields_ar[20][0] = "Hint:";
$int_fields_ar[20][1] = "hint_insert_field";
$int_fields_ar[20][2] = "text";
$int_fields_ar[20][3] = "25";

$int_fields_ar[21][0] = "Separator of the options:";
$int_fields_ar[21][1] = "separator_field";
$int_fields_ar[21][2] = "text";
$int_fields_ar[21][3] = "2";
?>
Return current item: GeekDDB