| @@ 727-735 (lines=9) @@ | ||
| 724 | * @param $condition_query_param_key |
|
| 725 | * @return string |
|
| 726 | */ |
|
| 727 | public static function removeStarsAndAnythingAfterFromConditionQueryParamKey($condition_query_param_key) |
|
| 728 | { |
|
| 729 | $pos_of_star = strpos($condition_query_param_key, '*'); |
|
| 730 | if ($pos_of_star === false) { |
|
| 731 | return $condition_query_param_key; |
|
| 732 | } else { |
|
| 733 | $condition_query_param_sans_star = substr($condition_query_param_key, 0, $pos_of_star); |
|
| 734 | return $condition_query_param_sans_star; |
|
| 735 | } |
|
| 736 | } |
|
| 737 | ||
| 738 | ||
| @@ 4041-4049 (lines=9) @@ | ||
| 4038 | * @param string $condition_query_param_key |
|
| 4039 | * @return string |
|
| 4040 | */ |
|
| 4041 | private function _remove_stars_and_anything_after_from_condition_query_param_key($condition_query_param_key) |
|
| 4042 | { |
|
| 4043 | $pos_of_star = strpos($condition_query_param_key, '*'); |
|
| 4044 | if ($pos_of_star === false) { |
|
| 4045 | return $condition_query_param_key; |
|
| 4046 | } else { |
|
| 4047 | $condition_query_param_sans_star = substr($condition_query_param_key, 0, $pos_of_star); |
|
| 4048 | return $condition_query_param_sans_star; |
|
| 4049 | } |
|
| 4050 | } |
|
| 4051 | ||
| 4052 | ||