* {@example OptionValueGet.php 0}
* @example OptionValueGet.php
*
- * @return array details of found Option Values
+ * @return array
+ * details of found Option Values
* {@getfields OptionValue_get}
- * @access public
*/
function civicrm_api3_report_template_get($params) {
require_once 'api/v3/OptionValue.php';
*
* @param array $params
*
- * @return array of newly created option_value property values.
+ * @return array
+ * Array of newly created option_value property values.
* {@getfields OptionValue_create}
- * @access public
*/
function civicrm_api3_report_template_create($params) {
require_once 'api/v3/OptionValue.php';
*
* {@example ReportTemplateDelete.php 0}
*
- * @return array Api result
+ * @return array
+ * Api result
* {@getfields ReportTemplate_create}
- * @access public
*/
function civicrm_api3_report_template_delete($params) {
require_once 'api/v3/OptionValue.php';
* @param array $params
* Input parameters.
*
- * @return array details of found instances
- * @access public
+ * @return array
+ * details of found instances
*/
function civicrm_api3_report_template_getrows($params) {
civicrm_api3_verify_one_mandatory($params, NULL, array('report_id', 'instance_id'));
}
$class = civicrm_api3('option_value', 'getvalue', array(
- 'option_group_id' => 'report_template',
+ 'option_group_name' => 'report_template',
'return' => 'name',
'value' => $params['report_id'],
)
* @param array $params
* Input parameters.
*
- * @return array details of found instances
- * @access public
+ * @return array
+ * details of found instances
*/
function _civicrm_api3_report_template_getrows_spec(&$params) {
$params['report_id'] = array(