Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <?php |
2 | /* | |
3 | +--------------------------------------------------------------------+ | |
39de6fd5 | 4 | | CiviCRM version 4.6 | |
6a488035 | 5 | +--------------------------------------------------------------------+ |
e7112fa7 | 6 | | Copyright CiviCRM LLC (c) 2004-2015 | |
6a488035 TO |
7 | +--------------------------------------------------------------------+ |
8 | | This file is a part of CiviCRM. | | |
9 | | | | |
10 | | CiviCRM is free software; you can copy, modify, and distribute it | | |
11 | | under the terms of the GNU Affero General Public License | | |
12 | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | |
13 | | | | |
14 | | CiviCRM is distributed in the hope that it will be useful, but | | |
15 | | WITHOUT ANY WARRANTY; without even the implied warranty of | | |
16 | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | |
17 | | See the GNU Affero General Public License for more details. | | |
18 | | | | |
19 | | You should have received a copy of the GNU Affero General Public | | |
20 | | License and the CiviCRM Licensing Exception along | | |
21 | | with this program; if not, contact CiviCRM LLC | | |
22 | | at info[AT]civicrm[DOT]org. If you have questions about the | | |
23 | | GNU Affero General Public License or the licensing of CiviCRM, | | |
24 | | see the CiviCRM license FAQ at http://civicrm.org/licensing | | |
25 | +--------------------------------------------------------------------+ | |
d25dd0ee | 26 | */ |
6a488035 TO |
27 | |
28 | /** | |
29 | * | |
30 | * @package CRM | |
e7112fa7 | 31 | * @copyright CiviCRM LLC (c) 2004-2015 |
6a488035 TO |
32 | * $Id$ |
33 | * | |
34 | */ | |
35 | /* | |
36 | * Settings metadata file | |
37 | */ | |
08e57c58 | 38 | return array( |
6a488035 TO |
39 | 'search_autocomplete_count' => array( |
40 | 'group_name' => 'Search Preferences', | |
41 | 'group' => 'Search Preferences', | |
42 | 'name' => 'search_autocomplete_count', | |
43 | 'prefetch' => 0, | |
44 | 'type' => 'Integer', | |
45 | 'quick_form_type' => 'Element', | |
46 | 'html_type' => 'text', | |
47 | 'html_attributes' => array( | |
48 | 'size' => 2, | |
49 | 'maxlength' => 2, | |
50 | ), | |
51 | 'default' => 10, | |
52 | 'add' => '4.3', | |
53 | 'title' => 'Autocomplete Results', | |
54 | 'is_domain' => 1, | |
55 | 'is_contact' => 0, | |
56 | 'description' => 'The maximum number of contacts to show at a time when typing in an autocomplete field.', | |
08e57c58 | 57 | 'help_text' => NULL, |
6a488035 | 58 | ), |
56c2750b TO |
59 | 'enable_innodb_fts' => array( |
60 | 'group_name' => 'Search Preferences', | |
61 | 'group' => 'Search Preferences', | |
62 | 'name' => 'enable_innodb_fts', | |
63 | 'prefetch' => 0, | |
56c2750b TO |
64 | 'type' => 'Boolean', |
65 | 'quick_form_type' => 'YesNo', | |
66 | 'default' => 0, | |
67 | 'add' => '4.4', | |
68 | 'title' => 'InnoDB Full Text Search', | |
69 | 'is_domain' => 1, | |
70 | 'is_contact' => 0, | |
71 | 'description' => "Enable InnoDB full-text search optimizations. (Requires MySQL 5.6+)", | |
08e57c58 | 72 | 'help_text' => NULL, |
56c2750b TO |
73 | 'on_change' => array( |
74 | array('CRM_Core_InnoDBIndexer', 'onToggleFts'), | |
75 | ), | |
76 | ), | |
7d1b110a TO |
77 | 'fts_query_mode' => array( |
78 | 'group_name' => 'Search Preferences', | |
79 | 'group' => 'Search Preferences', | |
80 | 'name' => 'fts_query_mode', | |
81 | 'prefetch' => 0, | |
7d1b110a TO |
82 | 'type' => 'String', |
83 | 'quick_form_type' => 'Element', | |
7d1b110a TO |
84 | 'html_attributes' => array( |
85 | 'size' => 64, | |
86 | 'maxlength' => 64, | |
87 | ), | |
88 | 'html_type' => 'Text', | |
89 | 'default' => 'simple', | |
90 | 'add' => '4.5', | |
91 | 'title' => 'How to handle full-tet queries', | |
92 | 'is_domain' => 1, | |
93 | 'is_contact' => 0, | |
08e57c58 TO |
94 | 'description' => NULL, |
95 | 'help_text' => NULL, | |
7d1b110a | 96 | ), |
6a488035 | 97 | ); |