@@ 4391-4399 (lines=9) @@ | ||
4388 | * @param string $condition_query_param_key |
|
4389 | * @return string |
|
4390 | */ |
|
4391 | private function _remove_stars_and_anything_after_from_condition_query_param_key($condition_query_param_key) |
|
4392 | { |
|
4393 | $pos_of_star = strpos($condition_query_param_key, '*'); |
|
4394 | if ($pos_of_star === false) { |
|
4395 | return $condition_query_param_key; |
|
4396 | } |
|
4397 | $condition_query_param_sans_star = substr($condition_query_param_key, 0, $pos_of_star); |
|
4398 | return $condition_query_param_sans_star; |
|
4399 | } |
|
4400 | ||
4401 | ||
4402 |
@@ 960-969 (lines=10) @@ | ||
957 | * @param $condition_query_param_key |
|
958 | * @return string |
|
959 | */ |
|
960 | public static function removeStarsAndAnythingAfterFromConditionQueryParamKey($condition_query_param_key) |
|
961 | { |
|
962 | $pos_of_star = strpos($condition_query_param_key, '*'); |
|
963 | if ($pos_of_star === false) { |
|
964 | return $condition_query_param_key; |
|
965 | } else { |
|
966 | $condition_query_param_sans_star = substr($condition_query_param_key, 0, $pos_of_star); |
|
967 | return $condition_query_param_sans_star; |
|
968 | } |
|
969 | } |
|
970 | ||
971 | ||
972 | /** |