Documentation

XsdAttributeDefinition
in package
implements JsonSerializable

XsdAttributeDefinition

This class represents the definition of an XML attribute.

Table of Contents

Interfaces

JsonSerializable

Properties

$annotation  : string
$autocomplete  : array<string|int, mixed>
$default  : string
$generate  : string
$group  : string
$lookup  : string
$name  : string
$type  : XsdSimpleTypeDefinition|XsdBaseTypeDefinition
$use  : string
$_node  : XmlNode
The attribute node.
$_schema  : XsdSchemaDefinition
The schema.

Methods

__construct()  : mixed
Constructor.
__get()  : mixed|null
Getter.
jsonSerialize()  : object
Returns the object for JSON serialization.
ToObject()  : object
Returns the object as a simple object.

Properties

$autocomplete read-only

public array<string|int, mixed> $autocomplete

The list of values for autocomplete functionality.

Methods

__get()

Getter.

public __get(string $name) : mixed|null
Parameters
$name : string

The property name.

Return values
mixed|null

The value of the property.

jsonSerialize()

Returns the object for JSON serialization.

public jsonSerialize() : object
Return values
object

The object representation of XsdAttributeDefinition.

ToObject()

Returns the object as a simple object.

public ToObject() : object
Return values
object

The simple object representation of XsdAttributeDefinition.


        
On this page

Search results