Method |
Description |
|
__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 |
|