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]));
	}
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]));
	}
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 ] ) ) ; }
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
adds a simple type to the schema