);
/**
- *
*/
public function __construct() {
parent::__construct();
* @param bool $returnWaitingCount
* @param bool $considerTestParticipant
*
- * @return bool|int|null|string 1. false => If event having some empty spaces.
+ * @return bool|int|null|string
+ * 1. false => If event having some empty spaces.
* @static
*/
static function eventFull(
* @param bool $considerWaiting
* @param bool $considerTestParticipants
*
- * @return array $optionsCount an array of each option id and total count
+ * @return array
+ * an array of each option id and total count
* @static
*/
static function priceSetOptionsCount(
* @param int $eventId
* Event id.
*
- * @return int $spaces Number of Empty Seats/null.
+ * @return int
+ * $spaces Number of Empty Seats/null.
* @static
*/
public static function pendingToConfirmSpaces($eventId) {
* @param bool $status
* @param bool $onlyParticipant
*
- * @return array array of importable Fields
+ * @return array
+ * array of importable Fields
* @static
*/
public static function &importableFields($contactType = 'Individual', $status = TRUE, $onlyParticipant = FALSE) {
/**
* Combine all the exportable fields from the lower levels object
*
- * @return array array of exportable Fields
+ * @return array
+ * array of exportable Fields
* @static
*/
public static function &exportableFields() {
* @param int $participantId
* Id of the participant.
*
- * @return array $name associated array with sort_name and event title
+ * @return array
+ * associated array with sort_name and event title
* @static
*/
public static function participantDetails($participantId) {
}
/**
- * This function is used to convert associative array names to values
+ * convert associative array names to values
* and vice-versa.
*
* This function is used by both the web form layer and the api. Note that
*
* @param int $oldStatusId
*
- * @return array $additionalParticipantIds
+ * @return array
* @static
*/
public static function getAdditionalParticipantIds($primaryParticipantId, $excludeCancel = TRUE, $oldStatusId = NULL) {
* @param bool $hasLineItems
* Do fetch from line items.
*
- * @return array $feeDetails
+ * @return array
* @static
*/
public function getFeeDetails($participantIds, $hasLineItems = FALSE) {
* @param int $primaryParticipantID
* Id of primary participant record.
*
- * @return array $additionalParticipants $displayName => $viewUrl
+ * @return array
+ * $displayName => $viewUrl
* @static
*/
public static function getAdditionalParticipants($primaryParticipantID) {
*
* @param int $participantId
*
- * @return true if participant is primary
+ * @return bool
+ * true if participant is primary
*/
public static function isPrimaryParticipant($participantId) {
* @param int $newStatusId
* New status.
*
- * @return true if allowed
+ * @return bool
+ * true if allowed
*/
public static function getValidAdditionalIds($participantId, $oldStatusId, $newStatusId) {
*
* @param int $contactID
*
- * @return int count of participant records
+ * @return int
+ * count of participant records
* @static
*/
public static function getContactParticipantCount($contactID) {
* @param bool $excludeCancelled
* Exclude cancelled additional participant.
*
- * @return array $participantsId
+ * @return array
* @static
*/
public static function getParticipantIds($contributionId, $excludeCancelled = FALSE) {
* @param array $participantIds
* An array of additional participant ids.
*
- * @return array of Urls.
+ * @return array
+ * of Urls.
* @static
*/
public static function getAdditionalParticipantUrl($participantIds) {
}
/**
- * To create trxn entry if an event has discount.
+ * create trxn entry if an event has discount.
*
* @param int $eventID
* Event id.