Skip to content
Snippets Groups Projects
Commit 24e06789 authored by eileen's avatar eileen
Browse files

updated version of examples

parent eb40b5a4
Branches
Tags
No related merge requests found
......@@ -8,7 +8,6 @@ $params = array(
'version' => 3,
'domain_id' => 'all',
'uniq_email_per_site' => 1,
'debug' => 1,
);
$result = civicrm_api( 'setting','create',$params );
......@@ -36,11 +35,6 @@ function setting_create_expectedresult(){
'uniq_email_per_site' => '1',
),
),
'xdebug' => array(
'peakMemory' => 127711392,
'memory' => 123061848,
'timeIndex' => '1357.0696148872',
),
);
return $expectedResult ;
......
......@@ -21,7 +21,7 @@ function setting_getfields_expectedresult(){
$expectedResult = array(
'is_error' => 0,
'version' => 3,
'count' => 72,
'count' => 73,
'values' => array(
'address_standardization_provider' => array(
'group_name' => 'Address Preferences',
......@@ -258,7 +258,7 @@ function setting_getfields_expectedresult(){
'group' => 'core',
'name' => 'address_format',
'type' => 'String',
'html_type' => 'Text',
'html_type' => 'TextArea',
'default' => '{contact.address_name}
{contact.street_address}
{contact.supplemental_address_1}
......@@ -381,6 +381,9 @@ function setting_getfields_expectedresult(){
'name' => 'contact_autocomplete_options',
'type' => 'String',
'html_type' => 'checkboxes',
'pseudoconstant' => array(
'optionGroupName' => 'contact_autocomplete_options',
),
'default' => array(
'0' => '1',
'1' => '2',
......@@ -616,6 +619,27 @@ When enabled, statistics about your CiviCRM installation are reported anonymousl
'description' => '',
'help_text' => '',
),
'communityMessagesUrl' => array(
'group_name' => 'CiviCRM Preferences',
'group' => 'core',
'name' => 'communityMessagesUrl',
'prefetch' => 0,
'config_only' => 1,
'type' => 'String',
'quick_form_type' => 'Element',
'html_type' => 'Text',
'html_attributes' => array(
'size' => 64,
'maxlength' => 128,
),
'default' => '*default*',
'add' => '4.3',
'title' => 'Community Messages URL',
'is_domain' => 1,
'is_contact' => 0,
'description' => 'Service providing CiviCRM community messages',
'help_text' => 'Use "*default*" for the system default or override with a custom URL',
),
'resCacheCode' => array(
'group_name' => 'CiviCRM Preferences',
'group' => 'core',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment