*/
public function setSSLVerifyPeer($i)
{
+ $this->logDeprecation('Method ' . __METHOD__ . ' is deprecated');
+
$this->verifypeer = $i;
return $this;
}
*/
public function setSSLVerifyHost($i)
{
+ $this->logDeprecation('Method ' . __METHOD__ . ' is deprecated');
+
$this->verifyhost = $i;
return $this;
}
*/
public function setSSLVersion($i)
{
+ $this->logDeprecation('Method ' . __METHOD__ . ' is deprecated');
+
$this->sslversion = $i;
return $this;
}
*/
public function setRequestCompression($compMethod)
{
+ $this->logDeprecation('Method ' . __METHOD__ . ' is deprecated');
+
$this->request_compression = $compMethod;
return $this;
}
*/
public function setCurlOptions($options)
{
+ $this->logDeprecation('Method ' . __METHOD__ . ' is deprecated');
+
$this->extracurlopts = $options;
return $this;
}
*/
public function setUseCurl($useCurlMode)
{
+ $this->logDeprecation('Method ' . __METHOD__ . ' is deprecated');
+
$this->use_curl = $useCurlMode;
return $this;
}
*/
public function setUserAgent($agentString)
{
+ $this->logDeprecation('Method ' . __METHOD__ . ' is deprecated');
+
$this->user_agent = $agentString;
return $this;
}
if ($acceptSingleVals === false) {
$accept = $this->current_parsing_options['accept'];
} else {
- //trigger_error('using argument $acceptSingleVals is deprecated', E_USER_DEPRECATED);
+ $this->logDeprecation('Using argument $acceptSingleVals for method ' . __METHOD__ . ' is deprecated');
$accept = self::ACCEPT_REQUEST | self::ACCEPT_RESPONSE | self::ACCEPT_VALUE;
}
if (($name == 'METHODCALL' && ($accept & self::ACCEPT_REQUEST)) ||
*/
public function xmlrpc_se_any($parser, $name, $attrs)
{
- //trigger_error('Method ' . __METHOD__ . ' is deprecated', E_USER_DEPRECATED);
+ // avoid spamming the log with warnings in case this is in use...
+ //$this->logDeprecation('Method ' . __METHOD__ . ' is deprecated');
$this->xmlrpc_se($parser, $name, $attrs, true);
}
* @todo decide how to deal with params passed by ref in function definition: bomb out or allow?
* @todo finish using phpdoc info to build method sig if all params are named but out of order
* @todo add a check for params of 'resource' type
- * @todo add some trigger_errors / error_log when returning false?
+ * @todo add some error logging when returning false?
* @todo what to do when the PHP function returns NULL? We are currently returning an empty string value...
* @todo add an option to suppress php warnings in invocation of user function, similar to server debug level 3?
* @todo add a verbatim_object_copy parameter to allow avoiding usage the same obj instance?