Class WsdlToPhpFunction

Description

Class WsdlToPhpFunction stands for an available operation described in the WSDL

Located in /WsdlToPhpFunction.php (line 12)

WsdlToPhpModel
   |
   --WsdlToPhpFunction
Variable Summary
 bool $isUnique
 string $returnType
Method Summary
 WsdlToPhpFunction __construct (string $_name, string $_parameterType, string $_returnType, WsdlToPhpService $_wsdlToPhpService)
 void getBody (array &$_body)
 array getComment ()
 bool getIsUnique ()
 string getMethodName ()
 string getParameterType ()
 string getReturnType ()
 string setIsUnique (bool $_isUnique)
 string setParameterType (string $_parameterType)
 string setReturnType (string $_returnType)
 string __toString ()
Variables
bool $isUnique = true (line 28)

Indicates function is not alone with this name, then its name is contextualized based on its parameter(s)

  • access: private
string $parameterType = '' (line 18)

Type of the parameter for the operation

  • access: private
string $returnType = '' (line 23)

Type of the return value for the operation

  • access: private

Inherited Variables

Inherited from WsdlToPhpModel

WsdlToPhpModel::$inheritance
WsdlToPhpModel::$meta
WsdlToPhpModel::$models
WsdlToPhpModel::$name
WsdlToPhpModel::$owner
WsdlToPhpModel::$phpReserverKeywords
WsdlToPhpModel::$replacedReservedPhpKeywords
WsdlToPhpModel::$uniqueNames
Methods
Constructor __construct (line 41)

Main constructor

WsdlToPhpFunction __construct (string $_name, string $_parameterType, string $_returnType, WsdlToPhpService $_wsdlToPhpService)
  • string $_name: the function name
  • string $_parameterType: the type/name of the parameter
  • string $_returnType: the type/name of the return value
  • WsdlToPhpService $_wsdlToPhpService: defines the struct which owns this value

Redefinition of:
WsdlToPhpModel::__construct()
Main constructor
getIsUnique (line 313)

Returns the isUnique property

bool getIsUnique ()
getMethodName (line 61)

Returns the name of the method that is used to call the operation It takes care of the fact that the method might not be the only one named as it is.

string getMethodName ()
getOwner (line 332)

Returns the owner model object, meaning a WsdlToPhpService object

WsdlToPhpService getOwner ()

Redefinition of:
WsdlToPhpModel::getOwner()
Returns the owner model object
getParameterType (line 279)

Returns the parameter type

string getParameterType ()
getReturnType (line 296)

Returns the retrun type

string getReturnType ()
setIsUnique (line 322)

Set the isUnique property

string setIsUnique (bool $_isUnique)
  • bool $_isUnique
setParameterType (line 288)

Set the parameter type

string setParameterType (string $_parameterType)
  • string $_parameterType
setReturnType (line 305)

Set the retrun type

string setReturnType (string $_returnType)
  • string $_returnType
__toString (line 340)

Return 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:28 +0100 by phpDocumentor 1.4.4