static $_values = array();
static $_cache = array();
- /*
+ /**
* $_domainIDGroups array maintains the list of option groups for whom
* domainID is to be considered.
*/
*
* @return array
* the values as specified by the above params
- * @static
* @void
*/
static function &values(
* @param bool $fresh
*
* @return array
- * of values as specified by the above params
- * @static
+ * Array of values as specified by the above params
* @void
*/
public static function &valuesByID($id, $flip = FALSE, $grouping = FALSE, $localize = FALSE, $labelColumnName = 'label', $onlyActive = TRUE, $fresh = FALSE) {
*
* @return void
*
- * @static
*/
public static function lookupValues(&$params, &$names, $flip = FALSE) {
foreach ($names as $postName => $value) {
* @param string $groupName
* The name of the option group.
*
- * @static
*
* @return string
* the value from the row where is_default = true
* @param null $groupTitle
* The optional label of the option group else set to group name.
*
- * @static
*
* @return int
* the option group ID
return $row;
}
- /*
+ /**
* Wrapper for calling values with fresh set to true to empty the given value
*
* Since there appears to be some inconsistency
* (for example CRM_Contribution_Pseudoconstant::paymentInstrument doesn't specify isActive
* which is part of the cache key
* will do a couple of variations & aspire to someone cleaning it up later
- */
- /**
- * @param $name
+ *
+ * @param string $name
* @param array $params
*/
public static function flush($name, $params = array()) {