TextData
in package
implements
WidgetData
Class representing text data.
Interfaces, Classes and Traits
- WidgetData
- Interface representing widget data.
Table of Contents
- TYPE = "text"
- Type name.
- $text : TextDataValue
- Value.
- $type : string
- Type.
- create() : TextData
- Create instance.
- text() : TextDataValue
- Return value.
- type() : string
- Return type.
- __construct() : mixed
- Constructor.
Constants
TYPE
Type name.
private
mixed
TYPE
= "text"
Properties
$text
Value.
private
TextDataValue
$text
$type
Type.
private
string
$type
Methods
create()
Create instance.
public
static create(TextDataValue $text) : TextData
Parameters
- $text : TextDataValue
-
Value.
Return values
TextData —Instance.
text()
Return value.
public
text() : TextDataValue
Return values
TextDataValue —Value.
type()
Return type.
public
type() : string
Tags
Return values
string —Type.
__construct()
Constructor.
private
__construct(TextDataValue $text) : mixed
Parameters
- $text : TextDataValue
-
Value.