/** * * Given an action mask, find the corresponding description * * @param int the action mask * * @return string the corresponding action description * @access public * @static * */ static function description($mask) { if (!isset($_description)) { self::$_description = array_flip(self::$_names); } return CRM_Utils_Array::value($mask, self::$_description, 'NO DESCRIPTION SET'); }