X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FEvent%2FPseudoConstant.php;h=39536722add33c66de1a9f6b5a52a87692c84596;hb=c927c1517145aca30a94534fd014233281c8f837;hp=f603e35b809b38bacc8fac49eb5767567b8b97a7;hpb=e100ac07be991fa09fc460871e4bd39ee45355f0;p=civicrm-core.git diff --git a/CRM/Event/PseudoConstant.php b/CRM/Event/PseudoConstant.php index f603e35b80..39536722ad 100644 --- a/CRM/Event/PseudoConstant.php +++ b/CRM/Event/PseudoConstant.php @@ -97,6 +97,10 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant { * * @access public * + * @param null $id + * @param bool $all + * @param null $condition + * * @return array - array of all events if any * @static */ @@ -130,7 +134,11 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant { * * @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 @@ -177,6 +185,9 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant { * * @access public * + * @param null $id + * @param null $cond + * * @return array - array reference of all participant roles if any * @static */ @@ -207,6 +218,8 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant { * * @access public * + * @param null $id + * * @return array - array reference of all participant listings if any * @static */ @@ -228,6 +241,7 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant { * * @access public * + * @param null $id * @return array - array reference of all event types. * @static */ @@ -247,6 +261,8 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant { /** * get event template titles * + * @param null $id + * * @return array of event id → template title pairs */ public static function &eventTemplates($id = NULL) { @@ -272,8 +288,7 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant { * @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)) { @@ -286,6 +301,7 @@ class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant { * * @access public * + * @param null $id * @return array - array reference of all pcp if any * @static */