PHP Class RomaricDrigon\MetaYaml\XsdGenerator

Show file Open project: romaricdrigon/metayaml Class Usage Examples

Public Methods

Method Description
__construct ( )
build ( $schema_config, $indent = true ) main function
buildNode ( $name, $type, $node, XMLWriter &$writer, $under_root = false )
buildPartial ( $name, XMLWriter &$writer, $under_root = false )
buildRootNode ( $type, $node, XMLWriter &$writer ) build nodes
getFullName ( $name ) get prefix-aware name

Method Details

__construct() public method

public __construct ( )

build() public method

main function
public build ( $schema_config, $indent = true )

buildNode() public method

public buildNode ( $name, $type, $node, XMLWriter &$writer, $under_root = false )
$writer XMLWriter

buildPartial() public method

public buildPartial ( $name, XMLWriter &$writer, $under_root = false )
$writer XMLWriter

buildRootNode() public method

build nodes
public buildRootNode ( $type, $node, XMLWriter &$writer )
$writer XMLWriter

getFullName() public method

get prefix-aware name
public getFullName ( $name )