WsdlToPhpModelClass WsdlToPhpModel defines the basic properties and methods to operations and structs extracted from the WSDL
Located in /WsdlToPhpModel.php (line 12)
| Class | Description |
|---|---|
WsdlToPhpStructValue
|
Class WsdlToPhpStructValue stands for an enumeration value |
WsdlToPhpService
|
Class WsdlToPhpService stands for an available service containing the functions/operations described in the WSDL |
WsdlToPhpStructAttribute
|
Class WsdlToPhpStructAttribute stands for an available struct attribute described in the WSDL |
WsdlToPhpStruct
|
Class WsdlToPhpStruct stands for an available struct described in the WSDL |
WsdlToPhpFunction
|
Class WsdlToPhpFunction stands for an available operation described in the WSDL |
static string
cleanComment
(string $_comment, [string $_glueSeparator = ','], [bool $_uniqueValues = true])
void
addMetaComment
([array &$_comments = array()], [bool $_addStars = false], [bool $_ignoreDocumentation = false], array $_comments)
static array
$models
= array() (line 48)
Store all the models generated
static string
$phpReserverKeywords
= '__construct|__destruct|__call|__callStatic|__get|__set|__isset|__unset|__sleep|__wakeup|__toString|__invoke|__set_state|__clone|getSoapClient|setSoapClient|initSoapClient|setLocation|getDefaultWsdlOptions|getLastRequest|getLastResponse|getFormatedXml|add|getResult|length|count|current|item|offsetGet|offsetSet|key|last|first|next|offsetExists|offsetUnset|rewind|setResult|toSend|valueIsValid|valid|getLastError|setLastError|saveLastError|getLastErrorForMethod|getInternArrayToIterate|setInternArrayToIterate|getInternArrayToIterateOffset|initInternArrayToIterate|setInternArrayToIterateOffset|getInternArrayToIterateIsArray|setInternArrayToIterateIsArray|getAttributeName|__toString|_set|_get|__halt_compiler|abstract|and|array|as|break|callable|case|catch|class|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|eval|exit|extends|final|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|namespace|new|or|print|private|protected|public|require|require_once|return|static|switch|throw|trait|try|unset|use|var|while|xor' (line 54)
Reserved PHP keywords
Plus {PackageName}WsdlClass specific/common methods
static array
$replacedReservedPhpKeywords
= array() (line 59)
Replaced keywords time in order to generate unique new keyword
static array
$uniqueNames
= array() (line 64)
Unique name generated in order to ensure unique naming (for struct constructor and setters/getters even for different case attribute name whith same value)
string
$inheritance
= '' (line 38)
Define the inheritance of a struct by the name of the parent struct or type
array
$meta
= array() (line 33)
Values associated to the operation
string
$name
= '' (line 28)
Original name od the element
WsdlToPhpModel
$owner
= null (line 43)
Store the object which owns the current model
static cleanComment (line 614)
Clean comment
static cleanString (line 486)
Clean a string to make it valid as PHP variable
static getGenericWsdlClassName (line 625)
Returns the generic name of the WsdlClass
static getModelByName (line 507)
Returns the model by its name
static getModels (line 497)
Get models
static getValueWithinItsType (line 581)
Returns the value with good type
static replaceReservedPhpKeyword (line 532)
Returns a usable keyword for a original keyword
static uniqueName (line 562)
Static method wich returns a unique name case sensitively
Useful to name methods case sensitively distinct, see http://the-echoplex.net/log/php-case-sensitivity
static updateModels (line 520)
Updates models with model
addMeta (line 303)
Add meta information to the operation
addMetaComment (line 256)
Add meta informations to comment array
getClassBody (line 225)
Methods which fills the class body
Must be overridden in classes
getClassComment (line 118)
Returns the comments for the class
getClassDeclaration (line 159)
Method to override in sub class
Must return a string in order to declare the function, attribute or the value
getCleanName (line 417)
Returns a valid clean name for PHP
getComment (line 81)
Returns comments for the element
getContextualPart (line 467)
Allows to define the contextual part of the class name for the package
getDocSubPackages (line 476)
Returns the sub package name which the model belongs to
Must be overridden by sub classes
getDocumentation (line 342)
Get the documentation meta value
getFileComment (line 93)
Returns the comments for the file
getFromSchema (line 363)
Get the from schema meta value
getInheritance (line 231)
Returns the name of the class the current class inherits from
getMeta (line 282)
Returns the meta
getMetaValue (line 374)
Returns a meta value according to its name
getMetaValueFirstSet (line 384)
Returns the value of the first meta value assigned to the name
getName (line 397)
Returns the original name extracted from the WSDL
getOwner (line 425)
Returns the owner model object
getPackagedName (line 459)
Returns the packaged name
Constructor __construct (line 72)
Main constructor
nameIsClean (line 447)
Returns true if the original name is safe to use as a PHP property, variable name or class name
setDocumentation (line 330)
Sets the documentation meta value.
Documentation is set as an array so if multiple documentation nodes are set for an unique element, it will gather them.
setFromSchema (line 353)
Sets the from schema meta value.
setInheritance (line 240)
Sets the name of the class the current class inherits from
setMeta (line 291)
Sets the meta
setName (line 406)
Sets the original name extracted from the WSDL
setOwner (line 435)
Sets the owner model object
__toString (line 633)
Returns class name
Documentation generated on Thu, 20 Feb 2014 22:48:29 +0100 by phpDocumentor 1.4.4