public function setAdditionalUrlParam($key, $value)
	{
		// Get the old value to return and set the new one for the URL parameter.
		$result = isset($this->_additionalUrlParams[$key]) ? $this->_additionalUrlParams[$key] : null;

		// If the passed parameter value is null unset the parameter, otherwise set it to the given value.
		if ($value === null)
		{
			unset($this->_additionalUrlParams[$key]);
		}
		else
		{
			$this->_additionalUrlParams[$key] = $value;
		}

		return $this;
	}
public function setAdditionalUrlParam($key, $value)
	{
		// Get the old value to return and set the new one for the URL parameter.
		$result = isset($this->_additionalUrlParams[$key]) ? $this->_additionalUrlParams[$key] : null;

		// If the passed parameter value is null unset the parameter, otherwise set it to the given value.
		if ($value === null)
		{
			unset($this->_additionalUrlParams[$key]);
		}
		else
		{
			$this->_additionalUrlParams[$key] = $value;
		}

		return $this;
	}
public function setAdditionalUrlParam ( $ key , $ value ) { // Get the old value to return and set the new one for the URL parameter. $ result = isset ( $ this -> _additionalUrlParams [ $ key ] ) ? $ this -> _additionalUrlParams [ $ key ] : null ; // If the passed parameter value is null unset the parameter, otherwise set it to the given value. if ( $ value === null ) { unset ( $ this -> _additionalUrlParams [ $ key ] ) ; } else { $ this -> _additionalUrlParams [ $ key ] = $ value ; } return $ this ; }
Method to set an additional URL parameter to be added to all pagination class generated
links.

@param   string  $key    The name of the URL parameter for which to set a value.
@param   mixed   $value  The value to set for the URL parameter.
@return  object  Paginator
Method to set an additional URL parameter to be added to all pagination class generated links .