setcookies

The Contact Form 7 - Infusionsoft Add-on setcookies function.

Description

setcookies( $m ); 

Parameters (1)

0. $m
The m.

Usage

  1. if ( !function_exists( 'setcookies' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'contact-form-7-infusionsoft-add-on/src/xmlrpc-3.0/demo/server/server.php'; 
  3.  
  4. // The m. 
  5. $m = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = setcookies($m); 
  9.  

Defined (1)

The function is defined in the following location(s).

/src/xmlrpc-3.0/demo/server/server.php  
  1. function setcookies($m) 
  2. $m = $m->getParam(0); 
  3. while(list($name, $value) = $m->structeach()) 
  4. $cookiedesc = php_xmlrpc_decode($value); 
  5. setcookie($name, @$cookiedesc['value'], @$cookiedesc['expires'], @$cookiedesc['path'], @$cookiedesc['domain'], @$cookiedesc['secure']); 
  6. return new xmlrpcresp(new xmlrpcval(1, 'int'));