projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
INFRA-132 - Civi - Convert single-line @param to multi-line
[civicrm-core.git]
/
api
/
v3
/
Survey.php
diff --git
a/api/v3/Survey.php
b/api/v3/Survey.php
index fb275ccac77d716d823dac50f22068d6ee0ec922..bc12a4502f25f3f2df12dc74134ce02823b420e0 100644
(file)
--- a/
api/v3/Survey.php
+++ b/
api/v3/Survey.php
@@
-2,9
+2,9
@@
/*
+--------------------------------------------------------------------+
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.
4
|
+ | CiviCRM version 4.
6
|
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-201
3
|
+ | Copyright CiviCRM LLC (c) 2004-201
4
|
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
@@
-31,7
+31,7
@@
*
* @package CiviCRM_APIv3
* @subpackage API_Survey
*
* @package CiviCRM_APIv3
* @subpackage API_Survey
- * @copyright CiviCRM LLC (c) 2004-201
3
+ * @copyright CiviCRM LLC (c) 2004-201
4
*/
*/
@@
-47,7
+47,7
@@
* @access public
*/
function civicrm_api3_survey_create($params) {
* @access public
*/
function civicrm_api3_survey_create($params) {
- return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params);
+ return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params
, 'Survey'
);
}
/**
}
/**
@@
-63,16
+63,16
@@
function _civicrm_api3_survey_create_spec(&$params) {
/**
* Returns array of surveys matching a set of one or more group properties
*
/**
* Returns array of surveys matching a set of one or more group properties
*
- * @param array $params
(referance)
Array of one or more valid
+ * @param array $params Array of one or more valid
* property_name=>value pairs. If $params is set
* as null, all surveys will be returned
*
* property_name=>value pairs. If $params is set
* as null, all surveys will be returned
*
- * @return array
(referance)
Array of matching surveys
+ * @return array
API result
Array of matching surveys
* {@getfields survey_get}
* @access public
*/
function civicrm_api3_survey_get($params) {
* {@getfields survey_get}
* @access public
*/
function civicrm_api3_survey_get($params) {
- return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params);
+ return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params
, TRUE, 'Survey'
);
}
/**
}
/**
@@
-81,11
+81,10
@@
function civicrm_api3_survey_get($params) {
* This method is used to delete any existing survey. id of the group
* to be deleted is required field in $params array
*
* This method is used to delete any existing survey. id of the group
* to be deleted is required field in $params array
*
- * @param array $params
(reference)
array containing id of the group
+ * @param array $params array containing id of the group
* to be deleted
*
* to be deleted
*
- * @return array (referance) returns flag true if successfull, error
- * message otherwise
+ * @return array api result array
* {@getfields survey_delete}
* @access public
*/
* {@getfields survey_delete}
* @access public
*/