class Wsdl extends AbstractDocument (View source)

Constants

TAG_ADDRESS

TAG_ALL

TAG_ANNOTATION

TAG_ANY

TAG_ANY_ATTRIBUTE

TAG_APPINFO

TAG_ATTRIBUTE

TAG_ATTRIBUTE_GROUP

TAG_BINDING

TAG_BODY

TAG_CHOICE

TAG_COMPLEX_CONTENT

TAG_COMPLEX_TYPE

TAG_DEFINITIONS

TAG_DOCUMENTATION

TAG_ELEMENT

TAG_ENUMERATION

TAG_EXTENSION

TAG_FIELD

TAG_GROUP

TAG_HEADER

TAG_IMPORT

TAG_INCLUDE

TAG_INPUT

TAG_KEY

TAG_KEYREF

TAG_LIST

TAG_MEMBER_TYPES

TAG_MESSAGE

TAG_NOTATION

TAG_OPERATION

TAG_OUTPUT

TAG_PART

TAG_PORT

TAG_PORT_TYPE

TAG_REDEFINE

TAG_RESTRICTION

TAG_SELECTOR

TAG_SEQUENCE

TAG_SCHEMA

TAG_SIMPLE_CONTENT

TAG_SIMPLE_TYPE

TAG_TYPES

TAG_UNION

TAG_UNIQUE

Properties

protected Schema $externalSchemas

Methods

ElementHandler
getElementHandler(DOMElement $element, AbstractDomDocumentHandler $domDocument, int $index = -1)

No description

string
getNamespaceUri(string $namespace)

No description

__construct(DOMDocument $domDocument, Generator $generator)

No description

addExternalSchema(Schema $schema)

No description

Schema|null
getExternalSchema(string $name)

No description

getExternalSchemas()

No description

getElementByName($name, $includeExternals = false)

No description

getElementByNameAndAttributes($name, array $attributes, $includeExternals = false)

No description

getElementsByName($name, $includeExternals = false)

No description

getElementsByNameAndAttributes(string $name, array $attributes, DOMNode $node = null, bool $includeExternals = false)

No description

mixed
useParentMethodAndExternals(string $method, array $parameters, bool $includeExternals = false, bool $returnOne = false)

Handler any method that exist within the parant class, in addition it handles the case when we want to use the external schemas to search in

mixed
useExternalSchemas($method, $parameters, $parentResult, $returnOne = false)

No description

Details

protected ElementHandler getElementHandler(DOMElement $element, AbstractDomDocumentHandler $domDocument, int $index = -1)

Parameters

DOMElement $element
AbstractDomDocumentHandler $domDocument
int $index

Return Value

ElementHandler

See also

\WsdlToPhp\DomHandler\AbstractDomDocumentHandler::getElementHandler()

string getNamespaceUri(string $namespace)

Parameters

string $namespace

Return Value

string

__construct(DOMDocument $domDocument, Generator $generator)

Parameters

DOMDocument $domDocument
Generator $generator

See also

\WsdlToPhp\DomHandler\AbstractDomDocumentHandler::__construct()

Wsdl addExternalSchema(Schema $schema)

Parameters

Schema $schema

Return Value

Wsdl

Schema|null getExternalSchema(string $name)

Parameters

string $name

Return Value

Schema|null

Schema getExternalSchemas()

Return Value

Schema

AbstractTag|null getElementByName($name, $includeExternals = false)

Parameters

$name
$includeExternals

Return Value

AbstractTag|null

See also

\WsdlToPhp\PackageGenerator\WsdlHandler\AbstractDocument::getElementByName()

AbstractTag|null getElementByNameAndAttributes($name, array $attributes, $includeExternals = false)

Parameters

$name
array $attributes
$includeExternals

Return Value

AbstractTag|null

See also

\WsdlToPhp\DomHandler\AbstractDomDocumentHandler::getElementByNameAndAttributes()

AbstractTag[] getElementsByName($name, $includeExternals = false)

Parameters

$name
$includeExternals

Return Value

AbstractTag[]

See also

\WsdlToPhp\PackageGenerator\WsdlHandler\AbstractDocument::getElementsByName()

AbstractTag[] getElementsByNameAndAttributes(string $name, array $attributes, DOMNode $node = null, bool $includeExternals = false)

Parameters

string $name
array $attributes
DOMNode $node
bool $includeExternals

Return Value

AbstractTag[]

See also

\WsdlToPhp\DomHandler\AbstractDomDocumentHandler::getElementsByNameAndAttributes()

protected mixed useParentMethodAndExternals(string $method, array $parameters, bool $includeExternals = false, bool $returnOne = false)

Handler any method that exist within the parant class, in addition it handles the case when we want to use the external schemas to search in

Parameters

string $method
array $parameters
bool $includeExternals
bool $returnOne

Return Value

mixed

protected mixed useExternalSchemas($method, $parameters, $parentResult, $returnOne = false)

Parameters

$method
$parameters
$parentResult
$returnOne

Return Value

mixed