original_string: function addSimpleType($name, $restrictionBase='', $typeClass='simpleType', $phpType='scalar', $enumeration=array()) {
  		$this->simpleTypes[$name] = array(
  	    'name'			=> $name,
  	    'typeClass'		=> $typeClass,
  	    'phpType'		=> $phpType,
  	    'type'			=> $restrictionBase,
  	    'enumeration'	=> $enumeration
  		);
  		
  		$this->xdebug("addSimpleType $name:");
  		$this->appendDebug($this->varDump($this->simpleTypes[$name]));
  	}
code: function addSimpleType($name, $restrictionBase='', $typeClass='simpleType', $phpType='scalar', $enumeration=array()) {
  		$this->simpleTypes[$name] = array(
  	    'name'			=> $name,
  	    'typeClass'		=> $typeClass,
  	    'phpType'		=> $phpType,
  	    'type'			=> $restrictionBase,
  	    'enumeration'	=> $enumeration
  		);
  		
  		$this->xdebug("addSimpleType $name:");
  		$this->appendDebug($this->varDump($this->simpleTypes[$name]));
  	}
code_tokens: function addSimpleType ( $ name , $ restrictionBase = '' , $ typeClass = 'simpleType' , $ phpType = 'scalar' , $ enumeration = array ( ) ) { $ this -> simpleTypes [ $ name ] = array ( 'name' => $ name , 'typeClass' => $ typeClass , 'phpType' => $ phpType , 'type' => $ restrictionBase , 'enumeration' => $ enumeration ) ; $ this -> xdebug ( "addSimpleType $name:" ) ; $ this -> appendDebug ( $ this -> varDump ( $ this -> simpleTypes [ $ name ] ) ) ; }
docstring: adds a simple type to the schema
  
  @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
  @access public
  @see nusoap_xmlschema
  @see getTypeDef
docstring_tokens: adds a simple type to the schema