original_string: function addSimpleType($name, $restrictionBase='', $typeClass='simpleType', $phpType='scalar', $enumeration=array()) {
  		$restrictionBase = strpos($restrictionBase,':') ? $this->expandQname($restrictionBase) : $restrictionBase;
  
  		$typens = isset($this->namespaces['types']) ? $this->namespaces['types'] : $this->namespaces['tns'];
  		$this->schemas[$typens][0]->addSimpleType($name, $restrictionBase, $typeClass, $phpType, $enumeration);
  	}
code: function addSimpleType($name, $restrictionBase='', $typeClass='simpleType', $phpType='scalar', $enumeration=array()) {
  		$restrictionBase = strpos($restrictionBase,':') ? $this->expandQname($restrictionBase) : $restrictionBase;
  
  		$typens = isset($this->namespaces['types']) ? $this->namespaces['types'] : $this->namespaces['tns'];
  		$this->schemas[$typens][0]->addSimpleType($name, $restrictionBase, $typeClass, $phpType, $enumeration);
  	}
code_tokens: function addSimpleType ( $ name , $ restrictionBase = '' , $ typeClass = 'simpleType' , $ phpType = 'scalar' , $ enumeration = array ( ) ) { $ restrictionBase = strpos ( $ restrictionBase , ':' ) ? $ this -> expandQname ( $ restrictionBase ) : $ restrictionBase ; $ typens = isset ( $ this -> namespaces [ 'types' ] ) ? $ this -> namespaces [ 'types' ] : $ this -> namespaces [ 'tns' ] ; $ this -> schemas [ $ typens ] [ 0 ] -> addSimpleType ( $ name , $ restrictionBase , $ typeClass , $ phpType , $ enumeration ) ; }
docstring: adds an XML Schema simple type to the WSDL types
  
  @param string $name
  @param string $restrictionBase namespace:name (http://schemas.xmlsoap.org/soap/encoding/:Array)
  @param string $typeClass (should always be simpleType)
  @param string $phpType (should always be scalar)
  @param array $enumeration array of values
  @see nusoap_xmlschema
  @access public
docstring_tokens: adds an XML Schema simple type to the WSDL types