v1_simpleStructReturn

The Contact Form 7 - Infusionsoft Add-on v1 simpleStructReturn function.

Description

v1_simpleStructReturn( $m ); 

Parameters (1)

0. $m
The m.

Usage

  1. if ( !function_exists( 'v1_simpleStructReturn' ) ) { 
  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 = v1_simpleStructReturn($m); 
  9.  

Defined (1)

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

/src/xmlrpc-3.0/demo/server/server.php  
  1. function v1_simpleStructReturn($m) 
  2. $sno=$m->getParam(0); 
  3. $v=$sno->scalarval(); 
  4. return new xmlrpcresp(new xmlrpcval(array( 
  5. "times10" => new xmlrpcval($v*10, "int"),  
  6. "times100" => new xmlrpcval($v*100, "int"),  
  7. "times1000" => new xmlrpcval($v*1000, "int")),  
  8. "struct" 
  9. ));