Class WsdlToPhpStructAttribute

Description

Class WsdlToPhpStructAttribute stands for an available struct attribute described in the WSDL

Located in /WsdlToPhpStructAttribute.php (line 12)

WsdlToPhpModel
   |
   --WsdlToPhpStructAttribute
Variable Summary
 string $type
Method Summary
 WsdlToPhpStructAttribute __construct (string $_name, string $_type, WsdlToPhpStruct $_wsdlToPhpStruct)
 array getComment ()
 string getDeclaration ()
 mixed getDefaultValue ()
 void getGetterDeclaration ( &$_body, WsdlToPhpStruct $_struct, array $_body)
 string getGetterName ()
 string getPattern ()
 void getSetterDeclaration ( &$_body, WsdlToPhpStruct $_struct, array $_body)
 string getSetterName ()
 string getType ()
 string getUniqueName ()
 bool isRequired ()
 string setType (string $_type)
 string __toString ()
Variables
Methods
Constructor __construct (line 29)

Main constructor

WsdlToPhpStructAttribute __construct (string $_name, string $_type, WsdlToPhpStruct $_wsdlToPhpStruct)
  • string $_name: the original name
  • string $_type: the type
  • WsdlToPhpStruct $_wsdlToPhpStruct: defines the struct which owns this value

Redefinition of:
WsdlToPhpModel::__construct()
Main constructor
getDeclaration (line 90)

Returns the declaration of the attribute

string getDeclaration ()
getDefaultValue (line 272)

Returns potential default value

mixed getDefaultValue ()
getGetterDeclaration (line 128)

Returns the array of lines to declare the getter

void getGetterDeclaration ( &$_body, WsdlToPhpStruct $_struct, array $_body)
getGetterName (line 99)

Returns the getter name for this attribute

string getGetterName ()
getOwner (line 314)

Returns the owner model object, meaning a WsdlToPhpStruct object

WsdlToPhpStruct getOwner ()

Redefinition of:
WsdlToPhpModel::getOwner()
Returns the owner model object
getPattern (line 300)

Returns the patern which the value must match

string getPattern ()
getSetterDeclaration (line 199)

Returns the array of lines to declare the setter

void getSetterDeclaration ( &$_body, WsdlToPhpStruct $_struct, array $_body)
getSetterName (line 108)

Returns the getter name for this attribute

string getSetterName ()
getUniqueName (line 81)

Returns the unique name in the current struct (for setters/getters and struct contrusctor array)

string getUniqueName ()
isRequired (line 287)

Returns true or false depending on minOccurs information associated to the attribute

bool isRequired ()
setType (line 261)

Sets the type value

string setType (string $_type)
  • string $_type
__toString (line 322)

Returns class name

  • return: __CLASS__
  • access: public
string __toString ()

Redefinition of:
WsdlToPhpModel::__toString()
Returns class name

Inherited Methods

Inherited From WsdlToPhpModel

 WsdlToPhpModel::__construct()
 WsdlToPhpModel::addMeta()
 WsdlToPhpModel::addMetaComment()
 WsdlToPhpModel::cleanComment()
 WsdlToPhpModel::cleanString()
 WsdlToPhpModel::getClassBody()
 WsdlToPhpModel::getClassComment()
 WsdlToPhpModel::getClassDeclaration()
 WsdlToPhpModel::getCleanName()
 WsdlToPhpModel::getComment()
 WsdlToPhpModel::getContextualPart()
 WsdlToPhpModel::getDocSubPackages()
 WsdlToPhpModel::getDocumentation()
 WsdlToPhpModel::getFileComment()
 WsdlToPhpModel::getFromSchema()
 WsdlToPhpModel::getGenericWsdlClassName()
 WsdlToPhpModel::getInheritance()
 WsdlToPhpModel::getMeta()
 WsdlToPhpModel::getMetaValue()
 WsdlToPhpModel::getMetaValueFirstSet()
 WsdlToPhpModel::getModelByName()
 WsdlToPhpModel::getModels()
 WsdlToPhpModel::getName()
 WsdlToPhpModel::getOwner()
 WsdlToPhpModel::getPackagedName()
 WsdlToPhpModel::getValueWithinItsType()
 WsdlToPhpModel::nameIsClean()
 WsdlToPhpModel::replaceReservedPhpKeyword()
 WsdlToPhpModel::setDocumentation()
 WsdlToPhpModel::setFromSchema()
 WsdlToPhpModel::setInheritance()
 WsdlToPhpModel::setMeta()
 WsdlToPhpModel::setName()
 WsdlToPhpModel::setOwner()
 WsdlToPhpModel::uniqueName()
 WsdlToPhpModel::updateModels()
 WsdlToPhpModel::__toString()
Class Constants

Documentation generated on Thu, 20 Feb 2014 22:48:29 +0100 by phpDocumentor 1.4.4