@@ 504-513 (lines=10) @@ | ||
501 | * @param $condition_query_param_key |
|
502 | * @return string |
|
503 | */ |
|
504 | public static function remove_stars_and_anything_after_from_condition_query_param_key($condition_query_param_key) |
|
505 | { |
|
506 | $pos_of_star = strpos($condition_query_param_key, '*'); |
|
507 | if ($pos_of_star === false) { |
|
508 | return $condition_query_param_key; |
|
509 | } else { |
|
510 | $condition_query_param_sans_star = substr($condition_query_param_key, 0, $pos_of_star); |
|
511 | return $condition_query_param_sans_star; |
|
512 | } |
|
513 | } |
|
514 | ||
515 | ||
516 |
@@ 4182-4190 (lines=9) @@ | ||
4179 | * @param string $condition_query_param_key |
|
4180 | * @return string |
|
4181 | */ |
|
4182 | private function _remove_stars_and_anything_after_from_condition_query_param_key($condition_query_param_key) |
|
4183 | { |
|
4184 | $pos_of_star = strpos($condition_query_param_key, '*'); |
|
4185 | if ($pos_of_star === false) { |
|
4186 | return $condition_query_param_key; |
|
4187 | } |
|
4188 | $condition_query_param_sans_star = substr($condition_query_param_key, 0, $pos_of_star); |
|
4189 | return $condition_query_param_sans_star; |
|
4190 | } |
|
4191 | ||
4192 | ||
4193 |