<?php
-
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
*
*/
-/**
- * Files required for this package
- */
-
/**
* Create an Event Participant
*
*
* @return array
* apiresult
- * {@getfields participant_create}
- * @access public
+ * {@getfields participant_create}
*/
function civicrm_api3_participant_create($params) {
//check that event id is not an template - should be done @ BAO layer
/**
* @todo this should be done in the BAO not the api
* Create a default participant line item
+ * @param array $params
+ * @param $participant
+ * @throws \CiviCRM_API3_Exception
*/
function _civicrm_api3_participant_createlineitem(&$params, $participant) {
// it is possible that a fee level contains information about multiple
*
* @return array
* (reference ) array of properties, if error an array with an error id and error message
- * {@getfields participant_get}
- * @access public
+ * {@getfields participant_get}
*/
function civicrm_api3_participant_get($params) {
$mode = CRM_Contact_BAO_Query::MODE_EVENT;
* {@getfields participant_delete}
* @throws Exception
* @return array
- * @access public
*/
function civicrm_api3_participant_delete($params) {