public function fromArray( $types )
	{
		$this->types			=& $types['types'];
		$this->attributes		=& $types['attributes'];
		$this->attributeGroups	=& $types['attributeGroups'];
		$this->elements			=& $types['elements'];
		$this->processedSchemas	=& $types['processedSchemas'];
		if ( isset( $types['typeIds'] ) )
		{
			$this->typeIds		=& $types['typeIds'];
		}

		// Prevent re-loading base types
		$this->baseTypesLoaded = true;

		return true;
	}
public function fromArray( $types )
	{
		$this->types			=& $types['types'];
		$this->attributes		=& $types['attributes'];
		$this->attributeGroups	=& $types['attributeGroups'];
		$this->elements			=& $types['elements'];
		$this->processedSchemas	=& $types['processedSchemas'];
		if ( isset( $types['typeIds'] ) )
		{
			$this->typeIds		=& $types['typeIds'];
		}

		// Prevent re-loading base types
		$this->baseTypesLoaded = true;

		return true;
	}
public function fromArray ( $ types ) { $ this -> types = & $ types [ 'types' ] ; $ this -> attributes = & $ types [ 'attributes' ] ; $ this -> attributeGroups = & $ types [ 'attributeGroups' ] ; $ this -> elements = & $ types [ 'elements' ] ; $ this -> processedSchemas = & $ types [ 'processedSchemas' ] ; if ( isset ( $ types [ 'typeIds' ] ) ) { $ this -> typeIds = & $ types [ 'typeIds' ] ; } // Prevent re-loading base types
 $ this -> baseTypesLoaded = true ; return true ; }
Create an types instance from an array

@param array $types
@return bool
Create an types instance from an array