<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
private static $eventType;
/**
- * event template titles
+ * Event template titles
* @var array
*/
private static $eventTemplates;
/**
* Get all the n events
*
- * @access public
*
- * @param null $id
+ * @param int $id
* @param bool $all
* @param null $condition
*
/**
* Get all the n participant statuses
*
- * @access public
*
- * @param null $id
+ * @param int $id
* @param null $cond
- * @param string $retColumn
- *
- * @internal param $string - $retColumn tells populate() whether to return 'name' (default) or 'label' values
+ * @param string $retColumn tells populate() whether to return 'name' (default) or 'label' values
*
* @return array - array reference of all participant statuses if any
* @static
*
* @return array of status classes, keyed by status type
*/
- static function &participantStatusClass() {
+ public static function &participantStatusClass() {
static $statusClasses = NULL;
if ($statusClasses === NULL) {
/**
* Get all the n participant roles
*
- * @access public
*
- * @param null $id
+ * @param int $id
* @param null $cond
*
* @return array - array reference of all participant roles if any
/**
* Get all the participant listings
*
- * @access public
*
- * @param null $id
+ * @param int $id
*
* @return array - array reference of all participant listings if any
* @static
/**
* Get all event types.
*
- * @access public
*
- * @param null $id
+ * @param int $id
* @return array - array reference of all event types.
* @static
*/
}
/**
- * get event template titles
+ * Get event template titles
*
- * @param null $id
+ * @param int $id
*
* @return array of event id → template title pairs
*/
* Flush given pseudoconstant so it can be reread from db
* nex time it's requested.
*
- * @access public
* @static
*
* @param bool|string $name pseudoconstant to be flushed
/**
* Get all the Personal campaign pages
*
- * @access public
*
- * @param null $id
+ * @param int $id
* @return array - array reference of all pcp if any
* @static
*/
return self::$pcPage;
}
}
-