PHP 클래스 WsdlToPhp\PackageGenerator\File\Struct

상속: extends AbstractModelFile
파일 보기 프로젝트 열기: wsdltophp/packagegenerator 1 사용 예제들

공개 메소드들

메소드 설명
getModel ( ) : Struct
setModel ( AbstractModel $model ) : StructArray

보호된 메소드들

메소드 설명
addStructMethodAddTo ( Method $methods, StructAttribute $attribute ) : Struct
addStructMethodAddToBody ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method, StructAttribute $attribute ) : Struct
addStructMethodConstruct ( Method $methods ) : Struct
addStructMethodConstructBody ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method ) : Struct
addStructMethodConstructBodyForAttribute ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method, StructAttribute $attribute, boolean $isLast ) : Struct
addStructMethodGet ( Method $methods, StructAttribute $attribute ) : Struct
addStructMethodGetBody ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method, StructAttribute $attribute, string $thisAccess ) : Struct
addStructMethodGetBodyForXml ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method, StructAttribute $attribute, string $thisAccess ) : Struct
addStructMethodGetBodyReturn ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method, StructAttribute $attribute, string $thisAccess ) : Struct
addStructMethodSet ( Method $methods, StructAttribute $attribute ) : Struct
addStructMethodSetBody ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method, StructAttribute $attribute ) : Struct
addStructMethodSetBodyAssignment ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method, StructAttribute $attribute ) : Struct
addStructMethodSetBodyForRestriction ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method, StructAttribute $attribute, string $parameterName = null ) : Struct
addStructMethodSetBodyReturn ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method ) : Struct
addStructMethodSetState ( Method $methods ) : Struct
addStructMethodsGetAnnotationBlock ( WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock $annotationBlock, string $attributeType ) : Struct
addStructMethodsGetAnnotationBlockFromXmlAttribute ( WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock $annotationBlock, StructAttribute $attribute ) : Struct
addStructMethodsSetAndGet ( Method $methods ) : Struct
addStructMethodsSetAndGetAnnotationBlockFromScalar ( string $setOrGet, WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock $annotationBlock, string $attributeName ) : Struct
addStructMethodsSetAndGetAnnotationBlockFromStructAttribute ( string $setOrGet, WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock $annotationBlock, StructAttribute $attribute ) : Struct
addStructMethodsSetAnnotationBlock ( WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock $annotationBlock, string $type, string $name ) : Struct
addStructPropertiesToAnnotationBlock ( WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock $annotationBlock ) : Struct
addStructPropertiesToAnnotationBlockParams ( WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock $annotationBlock ) : Struct
addStructPropertiesToAnnotationBlockUses ( WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock $annotationBlock ) : Struct
getClassConstants ( Constant $constants )
getClassMethods ( Method $methods )
getClassProperties ( Property $properties )
getConstantAnnotationBlock ( WsdlToPhp\PhpGenerator\Element\PhpConstant $constant )
getMethodAnnotationBlock ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method ) : WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock | null
getModelAttributes ( boolean $includeInheritanceAttributes = false, boolean $requiredFirst = true ) : StructAttribute
getPropertyAnnotationBlock ( WsdlToPhp\PhpGenerator\Element\PhpProperty $property ) : WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock
getStructMethodAnnotationBlock ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method ) : WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock | null
getStructMethodConstructAnnotationBlock ( ) : WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock
getStructMethodGetParameters ( StructAttribute $attribute ) : WsdlToPhp\PhpGenerator\Element\PhpFunctionParameter[]
getStructMethodParameter ( StructAttribute $attribute, boolean $lowCaseFirstLetter = false, mixed $defaultValue = null ) : WsdlToPhp\PhpGenerator\Element\PhpFunctionParameter
getStructMethodParameterType ( StructAttribute $attribute, boolean $returnArrayType = true ) : string | null
getStructMethodParametersValues ( ) : WsdlToPhp\PhpGenerator\Element\PhpFunctionParameter[]
getStructMethodSetBodyAssignment ( StructAttribute $attribute, string $parameterName ) : string
getStructMethodSetStateAnnotationBlock ( ) : WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock
getStructMethodsAddToAnnotationBlock ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method ) : WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock
getStructMethodsSetAndGetAnnotationBlock ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method ) : WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock

메소드 상세

addStructMethodAddTo() 보호된 메소드

protected addStructMethodAddTo ( Method $methods, StructAttribute $attribute ) : Struct
$methods WsdlToPhp\PackageGenerator\Container\PhpElement\Method
$attribute WsdlToPhp\PackageGenerator\Model\StructAttribute
리턴 Struct

addStructMethodAddToBody() 보호된 메소드

protected addStructMethodAddToBody ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method, StructAttribute $attribute ) : Struct
$method WsdlToPhp\PhpGenerator\Element\PhpMethod
$attribute WsdlToPhp\PackageGenerator\Model\StructAttribute
리턴 Struct

addStructMethodConstruct() 보호된 메소드

protected addStructMethodConstruct ( Method $methods ) : Struct
$methods WsdlToPhp\PackageGenerator\Container\PhpElement\Method
리턴 Struct

addStructMethodConstructBody() 보호된 메소드

protected addStructMethodConstructBody ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method ) : Struct
$method WsdlToPhp\PhpGenerator\Element\PhpMethod
리턴 Struct

addStructMethodConstructBodyForAttribute() 보호된 메소드

protected addStructMethodConstructBodyForAttribute ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method, StructAttribute $attribute, boolean $isLast ) : Struct
$method WsdlToPhp\PhpGenerator\Element\PhpMethod
$attribute WsdlToPhp\PackageGenerator\Model\StructAttribute
$isLast boolean
리턴 Struct

addStructMethodGet() 보호된 메소드

protected addStructMethodGet ( Method $methods, StructAttribute $attribute ) : Struct
$methods WsdlToPhp\PackageGenerator\Container\PhpElement\Method
$attribute WsdlToPhp\PackageGenerator\Model\StructAttribute
리턴 Struct

addStructMethodGetBody() 보호된 메소드

protected addStructMethodGetBody ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method, StructAttribute $attribute, string $thisAccess ) : Struct
$method WsdlToPhp\PhpGenerator\Element\PhpMethod
$attribute WsdlToPhp\PackageGenerator\Model\StructAttribute
$thisAccess string
리턴 Struct

addStructMethodGetBodyForXml() 보호된 메소드

protected addStructMethodGetBodyForXml ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method, StructAttribute $attribute, string $thisAccess ) : Struct
$method WsdlToPhp\PhpGenerator\Element\PhpMethod
$attribute WsdlToPhp\PackageGenerator\Model\StructAttribute
$thisAccess string
리턴 Struct

addStructMethodGetBodyReturn() 보호된 메소드

protected addStructMethodGetBodyReturn ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method, StructAttribute $attribute, string $thisAccess ) : Struct
$method WsdlToPhp\PhpGenerator\Element\PhpMethod
$attribute WsdlToPhp\PackageGenerator\Model\StructAttribute
$thisAccess string
리턴 Struct

addStructMethodSet() 보호된 메소드

protected addStructMethodSet ( Method $methods, StructAttribute $attribute ) : Struct
$methods WsdlToPhp\PackageGenerator\Container\PhpElement\Method
$attribute WsdlToPhp\PackageGenerator\Model\StructAttribute
리턴 Struct

addStructMethodSetBody() 보호된 메소드

protected addStructMethodSetBody ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method, StructAttribute $attribute ) : Struct
$method WsdlToPhp\PhpGenerator\Element\PhpMethod
$attribute WsdlToPhp\PackageGenerator\Model\StructAttribute
리턴 Struct

addStructMethodSetBodyAssignment() 보호된 메소드

protected addStructMethodSetBodyAssignment ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method, StructAttribute $attribute ) : Struct
$method WsdlToPhp\PhpGenerator\Element\PhpMethod
$attribute WsdlToPhp\PackageGenerator\Model\StructAttribute
리턴 Struct

addStructMethodSetBodyForRestriction() 보호된 메소드

protected addStructMethodSetBodyForRestriction ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method, StructAttribute $attribute, string $parameterName = null ) : Struct
$method WsdlToPhp\PhpGenerator\Element\PhpMethod
$attribute WsdlToPhp\PackageGenerator\Model\StructAttribute
$parameterName string
리턴 Struct

addStructMethodSetBodyReturn() 보호된 메소드

protected addStructMethodSetBodyReturn ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method ) : Struct
$method WsdlToPhp\PhpGenerator\Element\PhpMethod
리턴 Struct

addStructMethodSetState() 보호된 메소드

protected addStructMethodSetState ( Method $methods ) : Struct
$methods WsdlToPhp\PackageGenerator\Container\PhpElement\Method
리턴 Struct

addStructMethodsGetAnnotationBlock() 보호된 메소드

protected addStructMethodsGetAnnotationBlock ( WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock $annotationBlock, string $attributeType ) : Struct
$annotationBlock WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock
$attributeType string
리턴 Struct

addStructMethodsGetAnnotationBlockFromXmlAttribute() 보호된 메소드

protected addStructMethodsGetAnnotationBlockFromXmlAttribute ( WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock $annotationBlock, StructAttribute $attribute ) : Struct
$annotationBlock WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock
$attribute WsdlToPhp\PackageGenerator\Model\StructAttribute
리턴 Struct

addStructMethodsSetAndGet() 보호된 메소드

protected addStructMethodsSetAndGet ( Method $methods ) : Struct
$methods WsdlToPhp\PackageGenerator\Container\PhpElement\Method
리턴 Struct

addStructMethodsSetAndGetAnnotationBlockFromScalar() 보호된 메소드

protected addStructMethodsSetAndGetAnnotationBlockFromScalar ( string $setOrGet, WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock $annotationBlock, string $attributeName ) : Struct
$setOrGet string
$annotationBlock WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock
$attributeName string
리턴 Struct

addStructMethodsSetAndGetAnnotationBlockFromStructAttribute() 보호된 메소드

protected addStructMethodsSetAndGetAnnotationBlockFromStructAttribute ( string $setOrGet, WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock $annotationBlock, StructAttribute $attribute ) : Struct
$setOrGet string
$annotationBlock WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock
$attribute WsdlToPhp\PackageGenerator\Model\StructAttribute
리턴 Struct

addStructMethodsSetAnnotationBlock() 보호된 메소드

protected addStructMethodsSetAnnotationBlock ( WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock $annotationBlock, string $type, string $name ) : Struct
$annotationBlock WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock
$type string
$name string
리턴 Struct

addStructPropertiesToAnnotationBlock() 보호된 메소드

protected addStructPropertiesToAnnotationBlock ( WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock $annotationBlock ) : Struct
$annotationBlock WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock
리턴 Struct

addStructPropertiesToAnnotationBlockParams() 보호된 메소드

protected addStructPropertiesToAnnotationBlockParams ( WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock $annotationBlock ) : Struct
$annotationBlock WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock
리턴 Struct

addStructPropertiesToAnnotationBlockUses() 보호된 메소드

protected addStructPropertiesToAnnotationBlockUses ( WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock $annotationBlock ) : Struct
$annotationBlock WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock
리턴 Struct

getClassConstants() 보호된 메소드

또한 보기: WsdlToPhp\PackageGenerator\File\AbstractModelFile::getClassConstants()
protected getClassConstants ( Constant $constants )
$constants WsdlToPhp\PackageGenerator\Container\PhpElement\Constant

getClassMethods() 보호된 메소드

protected getClassMethods ( Method $methods )
$methods WsdlToPhp\PackageGenerator\Container\PhpElement\Method

getClassProperties() 보호된 메소드

protected getClassProperties ( Property $properties )
$properties WsdlToPhp\PackageGenerator\Container\PhpElement\Property

getConstantAnnotationBlock() 보호된 메소드

또한 보기: WsdlToPhp\PackageGenerator\File\AbstractModelFile::getConstantAnnotationBlock()
protected getConstantAnnotationBlock ( WsdlToPhp\PhpGenerator\Element\PhpConstant $constant )
$constant WsdlToPhp\PhpGenerator\Element\PhpConstant

getMethodAnnotationBlock() 보호된 메소드

protected getMethodAnnotationBlock ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method ) : WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock | null
$method WsdlToPhp\PhpGenerator\Element\PhpMethod
리턴 WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock | null

getModel() 공개 메소드

또한 보기: WsdlToPhp\PackageGenerator\File\AbstractModelFile::getModel()
public getModel ( ) : Struct
리턴 WsdlToPhp\PackageGenerator\Model\Struct

getModelAttributes() 보호된 메소드

protected getModelAttributes ( boolean $includeInheritanceAttributes = false, boolean $requiredFirst = true ) : StructAttribute
$includeInheritanceAttributes boolean include the attributes of parent class, default parent attributes are not included. If true, then the array is an associative array containing and index "attribute" for the StructAttribute object and an index "model" for the Struct object.
$requiredFirst boolean places the required attributes first, then the not required in order to have the _contrust method with the required attribute at first
리턴 WsdlToPhp\PackageGenerator\Container\Model\StructAttribute

getPropertyAnnotationBlock() 보호된 메소드

protected getPropertyAnnotationBlock ( WsdlToPhp\PhpGenerator\Element\PhpProperty $property ) : WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock
$property WsdlToPhp\PhpGenerator\Element\PhpProperty
리턴 WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock

getStructMethodAnnotationBlock() 보호된 메소드

protected getStructMethodAnnotationBlock ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method ) : WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock | null
$method WsdlToPhp\PhpGenerator\Element\PhpMethod
리턴 WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock | null

getStructMethodConstructAnnotationBlock() 보호된 메소드

protected getStructMethodConstructAnnotationBlock ( ) : WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock
리턴 WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock

getStructMethodGetParameters() 보호된 메소드

protected getStructMethodGetParameters ( StructAttribute $attribute ) : WsdlToPhp\PhpGenerator\Element\PhpFunctionParameter[]
$attribute WsdlToPhp\PackageGenerator\Model\StructAttribute
리턴 WsdlToPhp\PhpGenerator\Element\PhpFunctionParameter[]

getStructMethodParameter() 보호된 메소드

protected getStructMethodParameter ( StructAttribute $attribute, boolean $lowCaseFirstLetter = false, mixed $defaultValue = null ) : WsdlToPhp\PhpGenerator\Element\PhpFunctionParameter
$attribute WsdlToPhp\PackageGenerator\Model\StructAttribute
$lowCaseFirstLetter boolean
$defaultValue mixed
리턴 WsdlToPhp\PhpGenerator\Element\PhpFunctionParameter

getStructMethodParameterType() 보호된 메소드

protected getStructMethodParameterType ( StructAttribute $attribute, boolean $returnArrayType = true ) : string | null
$attribute WsdlToPhp\PackageGenerator\Model\StructAttribute
$returnArrayType boolean
리턴 string | null

getStructMethodParametersValues() 보호된 메소드

protected getStructMethodParametersValues ( ) : WsdlToPhp\PhpGenerator\Element\PhpFunctionParameter[]
리턴 WsdlToPhp\PhpGenerator\Element\PhpFunctionParameter[]

getStructMethodSetBodyAssignment() 보호된 메소드

protected getStructMethodSetBodyAssignment ( StructAttribute $attribute, string $parameterName ) : string
$attribute WsdlToPhp\PackageGenerator\Model\StructAttribute
$parameterName string
리턴 string

getStructMethodSetStateAnnotationBlock() 보호된 메소드

protected getStructMethodSetStateAnnotationBlock ( ) : WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock
리턴 WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock

getStructMethodsAddToAnnotationBlock() 보호된 메소드

protected getStructMethodsAddToAnnotationBlock ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method ) : WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock
$method WsdlToPhp\PhpGenerator\Element\PhpMethod
리턴 WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock

getStructMethodsSetAndGetAnnotationBlock() 보호된 메소드

protected getStructMethodsSetAndGetAnnotationBlock ( WsdlToPhp\PhpGenerator\Element\PhpMethod $method ) : WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock
$method WsdlToPhp\PhpGenerator\Element\PhpMethod
리턴 WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock

setModel() 공개 메소드

또한 보기: WsdlToPhp\PackageGenerator\File\AbstractModelFile::setModel()
public setModel ( AbstractModel $model ) : StructArray
$model WsdlToPhp\PackageGenerator\Model\AbstractModel
리턴 StructArray