v1_easyStruct

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

Description

v1_easyStruct( $m ); 

Parameters (1)

0. $m
The m.

Usage

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

Defined (1)

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

/src/xmlrpc-3.0/demo/server/server.php  
  1. function v1_easyStruct($m) 
  2. $sno=$m->getParam(0); 
  3. $moe=$sno->structmem("moe"); 
  4. $larry=$sno->structmem("larry"); 
  5. $curly=$sno->structmem("curly"); 
  6. $num=$moe->scalarval() + $larry->scalarval() + $curly->scalarval(); 
  7. return new xmlrpcresp(new xmlrpcval($num, "int"));