From 798358d01fd019f905d84e0b5b9fc77486a12a21 Mon Sep 17 00:00:00 2001 From: eileen Date: Sat, 22 Jul 2017 10:12:43 +1200 Subject: [PATCH] Regenerate examples file Change-Id: I44a082a3eedf3548c7ff446df7d9b587de3b9016 --- api/v3/examples/Setting/GetFields.php | 148 +++++++++++++++++++++++++- 1 file changed, 147 insertions(+), 1 deletion(-) diff --git a/api/v3/examples/Setting/GetFields.php b/api/v3/examples/Setting/GetFields.php index 0da8b46d79..a9bd3297ae 100644 --- a/api/v3/examples/Setting/GetFields.php +++ b/api/v3/examples/Setting/GetFields.php @@ -40,7 +40,7 @@ function setting_getfields_expectedresult() { $expectedResult = array( 'is_error' => 0, 'version' => 3, - 'count' => 151, + 'count' => 157, 'values' => array( 'address_standardization_provider' => array( 'group_name' => 'Address Preferences', @@ -127,6 +127,63 @@ function setting_getfields_expectedresult() { 'description' => '', 'help_text' => 'If set, new contacts that are created when signing a petition are assigned a tag of this name.', ), + 'civicaseRedactActivityEmail' => array( + 'group_name' => 'CiviCRM Preferences', + 'group' => 'core', + 'name' => 'civicaseRedactActivityEmail', + 'type' => 'String', + 'quick_form_type' => 'Select', + 'html_type' => 'Select', + 'html_attributes' => array(), + 'default' => 'default', + 'add' => '4.7', + 'title' => 'Redact Activity Email', + 'is_domain' => 1, + 'is_contact' => 0, + 'pseudoconstant' => array( + 'callback' => 'CRM_Case_Info::getRedactOptions', + ), + 'description' => 'Should activity emails be redacted? (Set \"Default\" to load setting from the legacy \"Settings.xml\" file.)', + 'help_text' => '', + ), + 'civicaseAllowMultipleClients' => array( + 'group_name' => 'CiviCRM Preferences', + 'group' => 'core', + 'name' => 'civicaseAllowMultipleClients', + 'type' => 'String', + 'quick_form_type' => 'Select', + 'html_type' => 'Select', + 'html_attributes' => array(), + 'default' => 'default', + 'add' => '4.7', + 'title' => 'Allow Multiple Case Clients', + 'is_domain' => 1, + 'is_contact' => 0, + 'pseudoconstant' => array( + 'callback' => 'CRM_Case_Info::getMultiClientOptions', + ), + 'description' => 'How many clients may be associated with a given case? (Set \"Default\" to load setting from the legacy \"Settings.xml\" file.)', + 'help_text' => '', + ), + 'civicaseNaturalActivityTypeSort' => array( + 'group_name' => 'CiviCRM Preferences', + 'group' => 'core', + 'name' => 'civicaseNaturalActivityTypeSort', + 'type' => 'String', + 'quick_form_type' => 'Select', + 'html_type' => 'Select', + 'html_attributes' => array(), + 'default' => 'default', + 'add' => '4.7', + 'title' => 'Activity Type Sorting', + 'is_domain' => 1, + 'is_contact' => 0, + 'pseudoconstant' => array( + 'callback' => 'CRM_Case_Info::getSortOptions', + ), + 'description' => 'How to sort activity-types on the \"Manage Case\" screen? (Set \"Default\" to load setting from the legacy \"Settings.xml\" file.)', + 'help_text' => '', + ), 'cvv_backoffice_required' => array( 'group_name' => 'Contribute Preferences', 'group' => 'contribute', @@ -652,6 +709,27 @@ function setting_getfields_expectedresult() { 'description' => 'If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.', 'help_text' => '', ), + 'recordGeneratedLetters' => array( + 'group_name' => 'CiviCRM Preferences', + 'group' => 'core', + 'name' => 'recordGeneratedLetters', + 'type' => 'String', + 'quick_form_type' => 'Select', + 'html_type' => 'Select', + 'html_attributes' => array( + 'class' => 'crm-select2', + ), + 'default' => 'multiple', + 'add' => '4.7', + 'title' => 'Record generated letters', + 'is_domain' => 1, + 'is_contact' => 0, + 'description' => 'When generating a letter (PDF/Word) via mail-merge, how should the letter be recorded?', + 'help_text' => '', + 'pseudoconstant' => array( + 'callback' => 'CRM_Contact_Form_Task_PDFLetterCommon::getLoggingOptions', + ), + ), 'wkhtmltopdfPath' => array( 'group_name' => 'CiviCRM Preferences', 'group' => 'core', @@ -1147,6 +1225,39 @@ function setting_getfields_expectedresult() { 'description' => 'If enabled, then CMS email id will be syncronised with CiviCRM contacts\'s primary email.', 'help_text' => '', ), + 'preserve_activity_tab_filter' => array( + 'group_name' => 'CiviCRM Preferences', + 'group' => 'core', + 'name' => 'preserve_activity_tab_filter', + 'type' => 'String', + 'html_type' => 'Text', + 'default' => 0, + 'add' => '4.7', + 'title' => 'Preserve activity filters as a user preference', + 'is_domain' => 1, + 'is_contact' => 0, + 'description' => 'When enabled, any filter settings a user selects on the contact\'s Activity tab will be remembered as they visit other contacts', + 'help_text' => '', + ), + 'assetCache' => array( + 'group_name' => 'Developer Preferences', + 'group' => 'developer', + 'name' => 'assetCache', + 'type' => 'String', + 'quick_form_type' => 'Select', + 'html_type' => 'Select', + 'html_attributes' => array(), + 'default' => 'auto', + 'add' => '4.7', + 'title' => 'Asset Caching', + 'is_domain' => 1, + 'is_contact' => 0, + 'description' => 'Store computed JS/CSS content in cache files? (Note: In \"Auto\" mode, the \"Debug\" setting will determine whether to activate the cache.)', + 'help_text' => '', + 'pseudoconstant' => array( + 'callback' => '\Civi\Core\AssetBuilder::getCacheModes', + ), + ), 'userFrameworkLogging' => array( 'group_name' => 'Developer Preferences', 'group' => 'developer', @@ -1452,6 +1563,9 @@ function setting_getfields_expectedresult() { 'pseudoconstant' => array( 'callback' => 'CRM_Admin_Form_Setting_Localization::getCurrencySymbols', ), + 'on_change' => array( + '0' => 'CRM_Admin_Form_Setting_Localization::onChangeDefaultCurrency', + ), ), 'defaultContactCountry' => array( 'group_name' => 'Localization Preferences', @@ -2128,6 +2242,24 @@ function setting_getfields_expectedresult() { 'description' => '', 'help_text' => '', ), + 'simple_mail_limit' => array( + 'group_name' => 'Mailing Preferences', + 'group' => 'mailing', + 'name' => 'simple_mail_limit', + 'type' => 'Integer', + 'quick_form_type' => 'Element', + 'html_type' => 'text', + 'html_attributes' => array( + 'size' => 4, + 'maxlength' => 8, + ), + 'default' => 50, + 'title' => 'Simple mail limit', + 'is_domain' => 1, + 'is_contact' => 0, + 'description' => 'The number of emails sendable via simple mail. Make sure you understand the implications for your spam reputation and legal requirements for bulk emails before editing. As there is some risk both to your spam reputation and the products if this is misused it is a hidden setting', + 'help_text' => 'CiviCRM forces users sending more than this number of mails to use CiviMails. CiviMails have additional precautions: not sending to contacts who do not want bulk mail, adding domain name and opt out links. You should familiarise yourself with the law relevant to you on bulk mailings if changing this setting. For the US https://en.wikipedia.org/wiki/CAN-SPAM_Act_of_2003 is a good place to start.', + ), 'geoAPIKey' => array( 'add' => '4.7', 'help_text' => '', @@ -2441,6 +2573,20 @@ function setting_getfields_expectedresult() { 'description' => 'If set, this will be the default profile used for contact search.', 'help_text' => '', ), + 'searchPrimaryDetailsOnly' => array( + 'group_name' => 'Search Preferences', + 'group' => 'Search Preferences', + 'name' => 'searchPrimaryDetailsOnly', + 'type' => 'Boolean', + 'quick_form_type' => 'YesNo', + 'default' => 1, + 'add' => '4.7', + 'title' => 'Search Primary Details Only', + 'is_domain' => 1, + 'is_contact' => 0, + 'description' => 'If enabled, only primary details (eg contact\'s primary email, phone, etc) will be included in Basic and Advanced Search results. Disabling this feature will allow users to match contacts using any email, phone etc detail.', + 'help_text' => '', + ), 'userFrameworkResourceURL' => array( 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().', 'group' => 'url', -- 2.25.1