@@ 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 |
@@ 225-233 (lines=9) @@ | ||
222 | return $query_param_for_models; |
|
223 | } |
|
224 | ||
225 | public static function remove_stars_and_anything_after_from_condition_query_param_key( $condition_query_param_key ) { |
|
226 | $pos_of_star = strpos($condition_query_param_key, '*'); |
|
227 | if($pos_of_star === FALSE){ |
|
228 | return $condition_query_param_key; |
|
229 | }else{ |
|
230 | $condition_query_param_sans_star = substr($condition_query_param_key, 0, $pos_of_star); |
|
231 | return $condition_query_param_sans_star; |
|
232 | } |
|
233 | } |
|
234 | ||
235 | /** |
|
236 | * Takes the input parameter and finds the model field that it indicates. |