PHP Class Goetas\Xsd\XsdToPhp\Php\ClassGenerator

ファイルを表示 Open project: goetas/xsd2php Class Usage Examples

Public Methods

Method Description
generate ( ClassGenerator $class, PHPClass $type )

Private Methods

Method Description
getPhpType ( PHPClass $class )
handleAdder ( ClassGenerator $generator, Goetas\Xsd\XsdToPhp\Php\Structure\PHPProperty $prop, PHPClass $class )
handleBody ( ClassGenerator $class, PHPClass $type )
handleGetter ( ClassGenerator $generator, Goetas\Xsd\XsdToPhp\Php\Structure\PHPProperty $prop, PHPClass $class )
handleMethod ( ClassGenerator $generator, Goetas\Xsd\XsdToPhp\Php\Structure\PHPProperty $prop, PHPClass $class )
handleProperty ( ClassGenerator $class, Goetas\Xsd\XsdToPhp\Php\Structure\PHPProperty $prop )
handleSetter ( ClassGenerator $generator, Goetas\Xsd\XsdToPhp\Php\Structure\PHPProperty $prop, PHPClass $class )
handleValueMethod ( ClassGenerator $generator, Goetas\Xsd\XsdToPhp\Php\Structure\PHPProperty $prop, PHPClass $class, $all = true )
isNativeType ( PHPClass $class )
isOneType ( PHPClass $type, $onlyParent = false )

Method Details

generate() public method

public generate ( ClassGenerator $class, PHPClass $type )
$class Zend\Code\Generator\ClassGenerator
$type Goetas\Xsd\XsdToPhp\Php\Structure\PHPClass