PHP Class WsdlToPhp\PackageGenerator\DomHandler\Wsdl\Tag\AbstractTag

Inheritance: extends WsdlToPhp\PackageGenerator\DomHandler\ElementHandler
Afficher le fichier Open project: wsdltophp/packagegenerator Class Usage Examples

Méthodes publiques

Méthode Description
getAttributeName ( ) : string
getAttributeRef ( ) : string
getChildrenByName ( $name ) : AbstractTag[]
getDomDocumentHandler ( ) : Wsdl | WsdlToPhp\PackageGenerator\DomHandler\Wsdl\Schema
getSuitableParent ( boolean $checkName = true, array $additionalTags = [], integer $maxDeep = self::MAX_DEEP, boolean $strict = false ) : null | AbstractNodeHandler | AbstractElementHandler | AbstractAttributeHandler | AbstractTag This method aims to get the parent element that matches a valid Wsdl element (aka struct)
getValueAttributeValue ( $withNamespace = false, $withinItsType = true, $asType = null ) : mixed
hasAttributeName ( ) : boolean
hasAttributeRef ( ) : boolean
hasAttributeValue ( ) : boolean

Méthodes protégées

Méthode Description
getStrictParent ( string $name, boolean $checkName = false ) : AbstractTag | null
getSuitableParentTags ( array $additionalTags = [] ) : string[] Suitable tags as parent

Method Details

getAttributeName() public méthode

public getAttributeName ( ) : string
Résultat string

getAttributeRef() public méthode

public getAttributeRef ( ) : string
Résultat string

getChildrenByName() public méthode

See also: WsdlToPhp\PackageGenerator\DomHandler\AbstractElementHandler::getChildrenByName()
public getChildrenByName ( $name ) : AbstractTag[]
Résultat AbstractTag[]

getDomDocumentHandler() public méthode

public getDomDocumentHandler ( ) : Wsdl | WsdlToPhp\PackageGenerator\DomHandler\Wsdl\Schema
Résultat WsdlToPhp\PackageGenerator\DomHandler\Wsdl\Wsdl | WsdlToPhp\PackageGenerator\DomHandler\Wsdl\Schema

getStrictParent() protected méthode

protected getStrictParent ( string $name, boolean $checkName = false ) : AbstractTag | null
$name string
$checkName boolean
Résultat AbstractTag | null

getSuitableParent() public méthode

This method aims to get the parent element that matches a valid Wsdl element (aka struct)
public getSuitableParent ( boolean $checkName = true, array $additionalTags = [], integer $maxDeep = self::MAX_DEEP, boolean $strict = false ) : null | AbstractNodeHandler | AbstractElementHandler | AbstractAttributeHandler | AbstractTag
$checkName boolean whether to validate the attribute named "name" or not
$additionalTags array
$maxDeep integer
$strict boolean used by overridden methods to avoid infinite loop
Résultat null | WsdlToPhp\PackageGenerator\DomHandler\AbstractNodeHandler | WsdlToPhp\PackageGenerator\DomHandler\AbstractElementHandler | WsdlToPhp\PackageGenerator\DomHandler\AbstractAttributeHandler | AbstractTag

getSuitableParentTags() protected méthode

Suitable tags as parent
protected getSuitableParentTags ( array $additionalTags = [] ) : string[]
$additionalTags array
Résultat string[]

getValueAttributeValue() public méthode

public getValueAttributeValue ( $withNamespace = false, $withinItsType = true, $asType = null ) : mixed
Résultat mixed

hasAttributeName() public méthode

public hasAttributeName ( ) : boolean
Résultat boolean

hasAttributeRef() public méthode

public hasAttributeRef ( ) : boolean
Résultat boolean

hasAttributeValue() public méthode

public hasAttributeValue ( ) : boolean
Résultat boolean