<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.4 |
+ | CiviCRM version 4.5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
* $Id$
*
*/
*
* @access public
*
- * @return array - array reference of all events if any
+ * @param null $id
+ * @param bool $all
+ * @param null $condition
+ *
+ * @return array - array of all events if any
* @static
*/
- public static function &event($id = NULL, $all = FALSE, $condition = NULL) {
+ public static function event($id = NULL, $all = FALSE, $condition = NULL) {
$key = "{$id}_{$all}_{$condition}";
if (!isset(self::$event[$key])) {
*
* @access public
*
- * @param string - $retColumn tells populate() whether to return 'name' (default) or 'label' values
+ * @param null $id
+ * @param null $cond
+ * @param string $retColumn
+ *
+ * @internal param $string - $retColumn tells populate() whether to return 'name' (default) or 'label' values
*
* @return array - array reference of all participant statuses if any
* @static
*
* @access public
*
+ * @param null $id
+ * @param null $cond
+ *
* @return array - array reference of all participant roles if any
* @static
*/
*
* @access public
*
+ * @param null $id
+ *
* @return array - array reference of all participant listings if any
* @static
*/
*
* @access public
*
+ * @param null $id
* @return array - array reference of all event types.
* @static
*/
/**
* get event template titles
*
+ * @param null $id
+ *
* @return array of event id → template title pairs
*/
public static function &eventTemplates($id = NULL) {
* @access public
* @static
*
- * @param boolean $name pseudoconstant to be flushed
- *
+ * @param bool|string $name pseudoconstant to be flushed
*/
public static function flush($name = 'cache') {
if (isset(self::$$name)) {
*
* @access public
*
+ * @param null $id
* @return array - array reference of all pcp if any
* @static
*/