PHP Class Goetas\Xsd\XsdToPhp\Php\Structure\PHPClass

Exibir arquivo Open project: goetas/xsd2php Class Usage Examples

Protected Properties

Property Type Description
$abstract boolean
$checks
$constants PHPConstant[]
$doc
$extends PHPClass
$name
$namespace
$properties Goetas\Xsd\XsdToPhp\Php\Structure\PHPProperty[]

Public Methods

Method Description
__construct ( $name = null, $namespace = null )
__toString ( )
addCheck ( $property, $check, $value )
addProperty ( Goetas\Xsd\XsdToPhp\Php\Structure\PHPProperty $property )
createFromFQCN ( $className )
getAbstract ( )
getChecks ( $property ) : array
getDoc ( )
getExtends ( ) : PHPClass
getFullName ( )
getName ( )
getNamespace ( )
getProperties ( ) : Goetas\Xsd\XsdToPhp\Php\Structure\PHPProperty[]
getPropertiesInHierarchy ( ) : Goetas\Xsd\XsdToPhp\Php\Structure\PHPProperty
getProperty ( string $name ) : Goetas\Xsd\XsdToPhp\Php\Structure\PHPProperty
getPropertyInHierarchy ( string $name ) : Goetas\Xsd\XsdToPhp\Php\Structure\PHPProperty
hasProperty ( string $name ) : boolean
hasPropertyInHierarchy ( string $name ) : boolean
setAbstract ( $abstract )
setDoc ( $doc )
setExtends ( PHPClass $extends ) : PHPClass
setName ( $name )
setNamespace ( $namespace )

Method Details

__construct() public method

public __construct ( $name = null, $namespace = null )

__toString() public method

public __toString ( )

addCheck() public method

public addCheck ( $property, $check, $value )
$property
$check
$value

addProperty() public method

public addProperty ( Goetas\Xsd\XsdToPhp\Php\Structure\PHPProperty $property )
$property Goetas\Xsd\XsdToPhp\Php\Structure\PHPProperty

createFromFQCN() public static method

public static createFromFQCN ( $className )

getAbstract() public method

public getAbstract ( )

getChecks() public method

public getChecks ( $property ) : array
$property
return array

getDoc() public method

public getDoc ( )

getExtends() public method

public getExtends ( ) : PHPClass
return PHPClass

getFullName() public method

public getFullName ( )

getName() public method

public getName ( )

getNamespace() public method

public getNamespace ( )

getProperties() public method

public getProperties ( ) : Goetas\Xsd\XsdToPhp\Php\Structure\PHPProperty[]
return Goetas\Xsd\XsdToPhp\Php\Structure\PHPProperty[]

getPropertiesInHierarchy() public method

public getPropertiesInHierarchy ( ) : Goetas\Xsd\XsdToPhp\Php\Structure\PHPProperty
return Goetas\Xsd\XsdToPhp\Php\Structure\PHPProperty

getProperty() public method

public getProperty ( string $name ) : Goetas\Xsd\XsdToPhp\Php\Structure\PHPProperty
$name string
return Goetas\Xsd\XsdToPhp\Php\Structure\PHPProperty

getPropertyInHierarchy() public method

public getPropertyInHierarchy ( string $name ) : Goetas\Xsd\XsdToPhp\Php\Structure\PHPProperty
$name string
return Goetas\Xsd\XsdToPhp\Php\Structure\PHPProperty

hasProperty() public method

public hasProperty ( string $name ) : boolean
$name string
return boolean

hasPropertyInHierarchy() public method

public hasPropertyInHierarchy ( string $name ) : boolean
$name string
return boolean

setAbstract() public method

public setAbstract ( $abstract )

setDoc() public method

public setDoc ( $doc )

setExtends() public method

public setExtends ( PHPClass $extends ) : PHPClass
$extends PHPClass
return PHPClass

setName() public method

public setName ( $name )

setNamespace() public method

public setNamespace ( $namespace )

Property Details

$abstract protected_oe property

protected bool $abstract
return boolean

$checks protected_oe property

protected $checks

$constants protected_oe property

protected PHPConstant[] $constants
return PHPConstant[]

$doc protected_oe property

protected $doc

$extends protected_oe property

protected PHPClass,Goetas\Xsd\XsdToPhp\Php\Structure $extends
return PHPClass

$name protected_oe property

protected $name

$namespace protected_oe property

protected $namespace

$properties protected_oe property

protected PHPProperty[],Goetas\Xsd\XsdToPhp\Php\Structure $properties
return Goetas\Xsd\XsdToPhp\Php\Structure\PHPProperty[]