@@ 4169-4177 (lines=9) @@ | ||
4166 | * @param string $condition_query_param_key |
|
4167 | * @return string |
|
4168 | */ |
|
4169 | private function _remove_stars_and_anything_after_from_condition_query_param_key($condition_query_param_key) |
|
4170 | { |
|
4171 | $pos_of_star = strpos($condition_query_param_key, '*'); |
|
4172 | if ($pos_of_star === false) { |
|
4173 | return $condition_query_param_key; |
|
4174 | } |
|
4175 | $condition_query_param_sans_star = substr($condition_query_param_key, 0, $pos_of_star); |
|
4176 | return $condition_query_param_sans_star; |
|
4177 | } |
|
4178 | ||
4179 | ||
4180 |
@@ 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 |