| @@ 3444-3452 (lines=9) @@ | ||
| 3441 | * @param string $condition_query_param_key |
|
| 3442 | * @return string |
|
| 3443 | */ |
|
| 3444 | private function _remove_stars_and_anything_after_from_condition_query_param_key($condition_query_param_key){ |
|
| 3445 | $pos_of_star = strpos($condition_query_param_key, '*'); |
|
| 3446 | if($pos_of_star === FALSE){ |
|
| 3447 | return $condition_query_param_key; |
|
| 3448 | }else{ |
|
| 3449 | $condition_query_param_sans_star = substr($condition_query_param_key, 0, $pos_of_star); |
|
| 3450 | return $condition_query_param_sans_star; |
|
| 3451 | } |
|
| 3452 | } |
|
| 3453 | ||
| 3454 | ||
| 3455 | ||
| @@ 384-392 (lines=9) @@ | ||
| 381 | * @param $condition_query_param_key |
|
| 382 | * @return string |
|
| 383 | */ |
|
| 384 | public static function remove_stars_and_anything_after_from_condition_query_param_key( $condition_query_param_key ) { |
|
| 385 | $pos_of_star = strpos($condition_query_param_key, '*'); |
|
| 386 | if($pos_of_star === FALSE){ |
|
| 387 | return $condition_query_param_key; |
|
| 388 | }else{ |
|
| 389 | $condition_query_param_sans_star = substr($condition_query_param_key, 0, $pos_of_star); |
|
| 390 | return $condition_query_param_sans_star; |
|
| 391 | } |
|
| 392 | } |
|
| 393 | ||
| 394 | ||
| 395 | ||