@@ 4311-4319 (lines=9) @@ | ||
4308 | * @param string $condition_query_param_key |
|
4309 | * @return string |
|
4310 | */ |
|
4311 | private function _remove_stars_and_anything_after_from_condition_query_param_key($condition_query_param_key) |
|
4312 | { |
|
4313 | $pos_of_star = strpos($condition_query_param_key, '*'); |
|
4314 | if ($pos_of_star === false) { |
|
4315 | return $condition_query_param_key; |
|
4316 | } |
|
4317 | $condition_query_param_sans_star = substr($condition_query_param_key, 0, $pos_of_star); |
|
4318 | return $condition_query_param_sans_star; |
|
4319 | } |
|
4320 | ||
4321 | ||
4322 |
@@ 614-623 (lines=10) @@ | ||
611 | * @param $condition_query_param_key |
|
612 | * @return string |
|
613 | */ |
|
614 | public static function removeStarsAndAnythingAfterFromConditionQueryParamKey($condition_query_param_key) |
|
615 | { |
|
616 | $pos_of_star = strpos($condition_query_param_key, '*'); |
|
617 | if ($pos_of_star === false) { |
|
618 | return $condition_query_param_key; |
|
619 | } else { |
|
620 | $condition_query_param_sans_star = substr($condition_query_param_key, 0, $pos_of_star); |
|
621 | return $condition_query_param_sans_star; |
|
622 | } |
|
623 | } |
|
624 | ||
625 | ||
626 | /** |