projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CRM-15988 - Mass cleanup of api entity names to CamelCase
[civicrm-core.git]
/
api
/
v3
/
MailSettings.php
diff --git
a/api/v3/MailSettings.php
b/api/v3/MailSettings.php
index c6d7ff44c5e0c7438d4628da86aba1e195831514..686e9acb23fb9d559286d6cf966e11ec66cdc5cd 100644
(file)
--- a/
api/v3/MailSettings.php
+++ b/
api/v3/MailSettings.php
@@
-1,5
+1,4
@@
<?php
<?php
-
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
@@
-27,72
+26,57
@@
*/
/**
*/
/**
- *
File for the CiviCRM APIv3 group functions
+ *
This api exposes CiviCRM mail settings.
*
* @package CiviCRM_APIv3
*
* @package CiviCRM_APIv3
- * @subpackage API_mail_settings
- * @copyright CiviCRM LLC (c) 2004-2014
*/
/**
*/
/**
- * Create or update a
mail_settings
+ * Create or update a
MailSettings.
*
* @param array $params
*
* @param array $params
- * Associative array of property.
- * name/value pairs to insert in new 'mail_settings'
- * @example mail_settingsCreate.php Std Create example
+ * name/value pairs to insert in new 'MailSettings'
*
* @return array
*
* @return array
- * api result array
- * {@getfields mail_settings_create}
- * @access public
+ * API result array.
*/
function civicrm_api3_mail_settings_create($params) {
return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params);
}
/**
*/
function civicrm_api3_mail_settings_create($params) {
return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params);
}
/**
- * Adjust Metadata for Create action
+ * Adjust Metadata for Create action.
+ *
+ * The metadata is used for setting defaults, documentation & validation.
*
*
- * The metadata is used for setting defaults, documentation & validation
* @param array $params
* @param array $params
- * Array o
r
parameters determined by getfields.
+ * Array o
f
parameters determined by getfields.
*/
function _civicrm_api3_mail_settings_create_spec(&$params) {
*/
function _civicrm_api3_mail_settings_create_spec(&$params) {
-
}
/**
}
/**
- * Returns array of
mail_settings matching a set of one or more group properties
+ * Returns array of
MailSettings matching a set of one or more properties.
*
* @param array $params
*
* @param array $params
- * Array of one or more valid.
- * property_name=>value pairs. If $params is set
- * as null, all mail_settings will be returned
+ * Array of one or more property_name=>value pairs.
+ * If $params is set as null, all MailSettings will be returned.
*
* @return array
*
* @return array
- * Array of matching mail_settings
- * {@getfields mail_settings_get}
- * @access public
+ * API result array.
*/
function civicrm_api3_mail_settings_get($params) {
return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params);
}
/**
*/
function civicrm_api3_mail_settings_get($params) {
return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params);
}
/**
- * delete an existing mail_settings
- *
- * This method is used to delete any existing mail_settings. id of the group
- * to be deleted is required field in $params array
+ * Delete an existing MailSettings.
*
* @param array $params
*
* @param array $params
- * Array containing id of the group.
- * to be deleted
+ * [id]
*
* @return array
*
* @return array
- * api result array
- * {@getfields mail_settings_delete}
- * @access public
+ * API result array.
*/
function civicrm_api3_mail_settings_delete($params) {
return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params);
*/
function civicrm_api3_mail_settings_delete($params) {
return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params);