You are here

function wsdl::character_data in Salesforce Suite 5.2

Same name in this branch
  1. 5.2 includes/nusoap.php \wsdl::character_data()
  2. 5.2 includes/nusoap.orig.php \wsdl::character_data()
Same name and namespace in other branches
  1. 5 includes/nusoap.php \wsdl::character_data()
  2. 5 includes/nusoap.orig.php \wsdl::character_data()

* element content handler * *

Parameters

string $parser XML parser object: * @param string $data element content * @access private

File

includes/nusoap.php, line 4573

Class

wsdl
parses a WSDL file, allows access to it's data, other utility methods

Code

function character_data($parser, $data) {
  $pos = isset($this->depth_array[$this->depth]) ? $this->depth_array[$this->depth] : 0;
  if (isset($this->message[$pos]['cdata'])) {
    $this->message[$pos]['cdata'] .= $data;
  }
  if ($this->documentation) {
    $this->documentation .= $data;
  }
}