original_string: public function setParam($name, $value) {
          if (in_array($name, $this->_textParamNames)) {
              $this->_setTextParam($name, $value);
          } else if (in_array($name, $this->_rawParamNames)) {
              $this->_setRawParam($name, $value);
          } else {
              throw new CPS_Exception(array(array('long_message' => 'Invalid request parameter', 'code' => ERROR_CODE_INVALID_PARAMETER, 'level' => 'REJECTED', 'source' => 'CPS_API')));
          }
      }
code: public function setParam($name, $value) {
          if (in_array($name, $this->_textParamNames)) {
              $this->_setTextParam($name, $value);
          } else if (in_array($name, $this->_rawParamNames)) {
              $this->_setRawParam($name, $value);
          } else {
              throw new CPS_Exception(array(array('long_message' => 'Invalid request parameter', 'code' => ERROR_CODE_INVALID_PARAMETER, 'level' => 'REJECTED', 'source' => 'CPS_API')));
          }
      }
code_tokens: public function setParam ( $ name , $ value ) { if ( in_array ( $ name , $ this -> _textParamNames ) ) { $ this -> _setTextParam ( $ name , $ value ) ; } else if ( in_array ( $ name , $ this -> _rawParamNames ) ) { $ this -> _setRawParam ( $ name , $ value ) ; } else { throw new CPS_Exception ( array ( array ( 'long_message' => 'Invalid request parameter' , 'code' => ERROR_CODE_INVALID_PARAMETER , 'level' => 'REJECTED' , 'source' => 'CPS_API' ) ) ) ; } }
docstring: sets a request parameter
  @param string $name name of the parameter
  @param mixed $value value to set. Could be a single string or an array of strings
docstring_tokens: sets a request parameter