PHP Class Goetas\Xsd\XsdToPhp\AbstractConverter

Afficher le fichier Open project: goetas/xsd2php Class Usage Examples

Protected Properties

Свойство Type Description
$aliasCache
$baseSchemas
$baseTypes
$namespaces
$typeAliases

Méthodes publiques

Méthode Description
__construct ( Goetas\Xsd\XsdToPhp\Naming\NamingStrategy $namingStrategy )
addAliasMap ( $ns, $name, callable $handler )
addAliasMapType ( $ns, $name, $type )
addNamespace ( $namesapce, $phpNamespace )
convert ( array $schemas )
getTypeAlias ( $type, GoetasWebservices\XML\XSDReader\Schema\Schema $schemapos = null )

Méthodes protégées

Méthode Description
cleanName ( $name )
getNamingStrategy ( ) : Goetas\Xsd\XsdToPhp\Naming\NamingStrategy
isArrayElement ( $element ) : GoetasWebservices\XML\XSDReader\Schema\Element\ElementSingle | null
isArrayNestedElement ( GoetasWebservices\XML\XSDReader\Schema\Type\Type $type ) : GoetasWebservices\XML\XSDReader\Schema\Element\ElementSingle | null
isArrayType ( GoetasWebservices\XML\XSDReader\Schema\Type\Type $type ) : GoetasWebservices\XML\XSDReader\Schema\Type\Type | null

Method Details

__construct() public méthode

public __construct ( Goetas\Xsd\XsdToPhp\Naming\NamingStrategy $namingStrategy )
$namingStrategy Goetas\Xsd\XsdToPhp\Naming\NamingStrategy

addAliasMap() public méthode

public addAliasMap ( $ns, $name, callable $handler )
$handler callable

addAliasMapType() public méthode

public addAliasMapType ( $ns, $name, $type )

addNamespace() public méthode

public addNamespace ( $namesapce, $phpNamespace )

cleanName() protected méthode

protected cleanName ( $name )

convert() abstract public méthode

abstract public convert ( array $schemas )
$schemas array

getNamingStrategy() protected méthode

protected getNamingStrategy ( ) : Goetas\Xsd\XsdToPhp\Naming\NamingStrategy
Résultat Goetas\Xsd\XsdToPhp\Naming\NamingStrategy

getTypeAlias() public méthode

public getTypeAlias ( $type, GoetasWebservices\XML\XSDReader\Schema\Schema $schemapos = null )
$schemapos GoetasWebservices\XML\XSDReader\Schema\Schema

isArrayElement() protected méthode

protected isArrayElement ( $element ) : GoetasWebservices\XML\XSDReader\Schema\Element\ElementSingle | null
Résultat GoetasWebservices\XML\XSDReader\Schema\Element\ElementSingle | null

isArrayNestedElement() protected méthode

protected isArrayNestedElement ( GoetasWebservices\XML\XSDReader\Schema\Type\Type $type ) : GoetasWebservices\XML\XSDReader\Schema\Element\ElementSingle | null
$type GoetasWebservices\XML\XSDReader\Schema\Type\Type
Résultat GoetasWebservices\XML\XSDReader\Schema\Element\ElementSingle | null

isArrayType() protected méthode

protected isArrayType ( GoetasWebservices\XML\XSDReader\Schema\Type\Type $type ) : GoetasWebservices\XML\XSDReader\Schema\Type\Type | null
$type GoetasWebservices\XML\XSDReader\Schema\Type\Type
Résultat GoetasWebservices\XML\XSDReader\Schema\Type\Type | null

Property Details

$aliasCache protected_oe property

protected $aliasCache

$baseSchemas protected_oe property

protected $baseSchemas

$baseTypes protected_oe property

protected $baseTypes

$namespaces protected_oe property

protected $namespaces

$typeAliases protected_oe property

protected $typeAliases