class TagDocumentation extends Tag (View source)

Constants

MAX_DEEP

Methods

null|AbstractNodeHandler|AbstractElementHandler|AbstractAttributeHandler|AbstractTag
getSuitableParent(bool $checkName = true, array $additionalTags = [], int $maxDeep = self::MAX_DEEP, bool $strict = false)

Finds parent node of this documentation node without taking care of the name attribute for enumeration.

string[]
getSuitableParentTags(array $additionalTags = [])

No description

getStrictParent(string $name, bool $checkName = false)

No description

bool
hasAttributeName()

No description

bool
hasAttributeRef()

No description

string
getAttributeName()

No description

string
getAttributeRef()

No description

boolean
hasAttributeValue()

No description

mixed
getValueAttributeValue(bool $withNamespace = false, bool $withinItsType = true, string $asType = null)

No description

getDomDocumentHandler()

No description

getChildrenByName(string $name)

No description

string
getContent()

No description

Details

null|AbstractNodeHandler|AbstractElementHandler|AbstractAttributeHandler|AbstractTag getSuitableParent(bool $checkName = true, array $additionalTags = [], int $maxDeep = self::MAX_DEEP, bool $strict = false)

Finds parent node of this documentation node without taking care of the name attribute for enumeration.

This case is managed first because enumerations are contained by elements and the method could climb to its parent without stopping on the enumeration tag. Indeed, depending on the node, it may contain or not the attribute named "name" so we have to split each case.

Parameters

bool $checkName whether to validate the attribute named "name" or not
array $additionalTags
int $maxDeep
bool $strict used by overridden methods to avoid infinite loop

Return Value

null|AbstractNodeHandler|AbstractElementHandler|AbstractAttributeHandler|AbstractTag

See also

\WsdlToPhp\PackageGenerator\WsdlHandler\Tag\AbstractTag::getSuitableParent()

string[] getSuitableParentTags(array $additionalTags = [])

Parameters

array $additionalTags

Return Value

string[]

See also

\WsdlToPhp\PackageGenerator\WsdlHandler\Tag\AbstractTag::getSuitableParentTags()

protected AbstractTag|null getStrictParent(string $name, bool $checkName = false)

Parameters

string $name
bool $checkName

Return Value

AbstractTag|null

bool hasAttributeName()

Return Value

bool

bool hasAttributeRef()

Return Value

bool

string getAttributeName()

Return Value

string

string getAttributeRef()

Return Value

string

boolean hasAttributeValue()

Return Value

boolean

mixed getValueAttributeValue(bool $withNamespace = false, bool $withinItsType = true, string $asType = null)

Parameters

bool $withNamespace
bool $withinItsType
string $asType

Return Value

mixed

Wsdl|Schema getDomDocumentHandler()

Return Value

Wsdl|Schema

AbstractTag[] getChildrenByName(string $name)

Parameters

string $name

Return Value

AbstractTag[]

See also

\WsdlToPhp\DomHandler\AbstractElementHandler::getChildrenByName()

string getContent()

Return Value

string