public function getWhereParametersFor($fieldName)
    {
        return array_intersect_key(
            $this->getWhereParameters(),
            array_flip(preg_grep('/^' . $fieldName . '_\d+$/', array_keys($this->getWhereParameters())))
        );
    }
public function getWhereParametersFor($fieldName)
    {
        return array_intersect_key(
            $this->getWhereParameters(),
            array_flip(preg_grep('/^' . $fieldName . '_\d+$/', array_keys($this->getWhereParameters())))
        );
    }
public function getWhereParametersFor ( $ fieldName ) { return array_intersect_key ( $ this -> getWhereParameters ( ) , array_flip ( preg_grep ( '/^' . $ fieldName . '_\d+$/' , array_keys ( $ this -> getWhereParameters ( ) ) ) ) ) ; }
Gets all the parameters for a specific field name.

@param string $fieldName

@return array array of key=>value parameters
Gets all the parameters for a specific field name .