<?php
-
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
* @param array $params
*
* @throws API_Exception
- * @return array of newly created premium property values.
- * @access public
+ * @return array
+ * Array of newly created premium property values.
*/
function civicrm_api3_premium_create($params) {
return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params);
*
* @param array $params
*
- * @return array of retrieved premium property values.
- * @access public
+ * @return array
+ * Array of retrieved premium property values.
*/
function civicrm_api3_premium_get($params) {
return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params);
* @param array $params
*
* @throws API_Exception
- * @return array of deleted values.
- * @access public
+ * @return array
+ * Array of deleted values.
*/
function civicrm_api3_premium_delete($params) {
return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params);
/**
* return field specification specific to get requests
+ * @param array $params
*/
function _civicrm_api3_premium_get_spec(&$params) {
$params['premiums_active']['api.aliases'] = array('is_active');
/**
* return field specification specific to create requests
+ * @param array $params
*/
function _civicrm_api3_premium_create_spec(&$params) {
$params['premiums_active']['api.aliases'] = array('is_active');