@@ 4155-4163 (lines=9) @@ | ||
4152 | * @param string $condition_query_param_key |
|
4153 | * @return string |
|
4154 | */ |
|
4155 | private function _remove_stars_and_anything_after_from_condition_query_param_key($condition_query_param_key) |
|
4156 | { |
|
4157 | $pos_of_star = strpos($condition_query_param_key, '*'); |
|
4158 | if ($pos_of_star === false) { |
|
4159 | return $condition_query_param_key; |
|
4160 | } |
|
4161 | $condition_query_param_sans_star = substr($condition_query_param_key, 0, $pos_of_star); |
|
4162 | return $condition_query_param_sans_star; |
|
4163 | } |
|
4164 | ||
4165 | ||
4166 |
@@ 760-768 (lines=9) @@ | ||
757 | * @param $condition_query_param_key |
|
758 | * @return string |
|
759 | */ |
|
760 | public static function removeStarsAndAnythingAfterFromConditionQueryParamKey($condition_query_param_key) |
|
761 | { |
|
762 | $pos_of_star = strpos($condition_query_param_key, '*'); |
|
763 | if ($pos_of_star === false) { |
|
764 | return $condition_query_param_key; |
|
765 | } else { |
|
766 | $condition_query_param_sans_star = substr($condition_query_param_key, 0, $pos_of_star); |
|
767 | return $condition_query_param_sans_star; |
|
768 | } |
|
769 | } |
|
770 | ||
771 |