PHP 클래스 WsdlToPhp\PackageGenerator\Model\StructAttribute

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

공개 메소드들

메소드 설명
__construct ( Generator $generator, string $name, string $type, Struct $struct ) Main constructor
getContainsElements ( ) : boolean Returns the type value
getDefaultValue ( ) : mixed Returns potential default value
getGetterName ( ) : string Returns the getter name for this attribute
getInheritanceStruct ( ) : Struct | null
getInheritanceStructMeta ( ) : string[]
getMeta ( ) : string[]
getOwner ( ) : Struct Returns the owner model object, meaning a Struct object
getRemovableFromRequest ( ) : boolean
getReservedMethodsInstance ( $filename = null ) : StructReservedMethod | StructArrayReservedMethod
getSetterName ( ) : string Returns the getter name for this attribute
getType ( ) : string Returns the type value
getTypeStruct ( ) : Struct | null
getTypeStructMeta ( ) : string[]
getUniqueName ( ) : string Returns the unique name in the current struct (for setters/getters and struct contrusctor array)
isArray ( ) : boolean If this attribute contains elements then it's an array only if its parent, the Struct, is not itself an array, if the parent is an array, then it is certainly not an array too
isRequired ( ) : boolean Returns true or false depending on minOccurs information associated to the attribute
isTypeStructArray ( ) : boolean
isXml ( ) : boolean
setContainsElements ( boolean $containsElements ) : StructAttribute Sets the type value
setRemovableFromRequest ( boolean $removableFromRequest ) : StructAttribute
setType ( string $type ) : StructAttribute Sets the type value

메소드 상세

__construct() 공개 메소드

Main constructor
또한 보기: AbstractModel::__construct()
public __construct ( Generator $generator, string $name, string $type, Struct $struct )
$generator WsdlToPhp\PackageGenerator\Generator\Generator
$name string the original name
$type string the type
$struct Struct defines the struct which owns this value

getContainsElements() 공개 메소드

Returns the type value
public getContainsElements ( ) : boolean
리턴 boolean

getDefaultValue() 공개 메소드

Returns potential default value
public getDefaultValue ( ) : mixed
리턴 mixed

getGetterName() 공개 메소드

Returns the getter name for this attribute
public getGetterName ( ) : string
리턴 string

getInheritanceStruct() 공개 메소드

public getInheritanceStruct ( ) : Struct | null
리턴 Struct | null

getInheritanceStructMeta() 공개 메소드

public getInheritanceStructMeta ( ) : string[]
리턴 string[]

getMeta() 공개 메소드

또한 보기: WsdlToPhp\PackageGenerator\Model\AbstractModel::getMeta()
public getMeta ( ) : string[]
리턴 string[]

getOwner() 공개 메소드

Returns the owner model object, meaning a Struct object
또한 보기: AbstractModel::getOwner()
public getOwner ( ) : Struct
리턴 Struct

getRemovableFromRequest() 공개 메소드

getReservedMethodsInstance() 공개 메소드

public getReservedMethodsInstance ( $filename = null ) : StructReservedMethod | StructArrayReservedMethod
$filename
리턴 WsdlToPhp\PackageGenerator\ConfigurationReader\StructReservedMethod | WsdlToPhp\PackageGenerator\ConfigurationReader\StructArrayReservedMethod

getSetterName() 공개 메소드

Returns the getter name for this attribute
public getSetterName ( ) : string
리턴 string

getType() 공개 메소드

Returns the type value
public getType ( ) : string
리턴 string

getTypeStruct() 공개 메소드

public getTypeStruct ( ) : Struct | null
리턴 Struct | null

getTypeStructMeta() 공개 메소드

public getTypeStructMeta ( ) : string[]
리턴 string[]

getUniqueName() 공개 메소드

Returns the unique name in the current struct (for setters/getters and struct contrusctor array)
public getUniqueName ( ) : string
리턴 string

isArray() 공개 메소드

If this attribute contains elements then it's an array only if its parent, the Struct, is not itself an array, if the parent is an array, then it is certainly not an array too
public isArray ( ) : boolean
리턴 boolean

isRequired() 공개 메소드

Returns true or false depending on minOccurs information associated to the attribute
public isRequired ( ) : boolean
리턴 boolean true|false

isTypeStructArray() 공개 메소드

public isTypeStructArray ( ) : boolean
리턴 boolean

isXml() 공개 메소드

public isXml ( ) : boolean
리턴 boolean

setContainsElements() 공개 메소드

Sets the type value
public setContainsElements ( boolean $containsElements ) : StructAttribute
$containsElements boolean
리턴 StructAttribute

setRemovableFromRequest() 공개 메소드

public setRemovableFromRequest ( boolean $removableFromRequest ) : StructAttribute
$removableFromRequest boolean
리턴 StructAttribute

setType() 공개 메소드

Sets the type value
public setType ( string $type ) : StructAttribute
$type string
리턴 StructAttribute