AbstractView
Implements ViewInterfaceJoomla Framework Abstract View Class
abstract
| since |
1.0 |
|---|---|
| package |
Joomla Framework |
Methods
addData
Adds an object to the data array
addData( key, value) :
| since |
2.0.0 |
|---|
Arguments
- key
stringThe array key- value
mixedThe data value to add
Response
$this
clearData
Resets the internal data array
clearData() :
| since |
2.0.0 |
|---|
Response
$this
getData
Retrieves the data array
getData() : mixed||string|int
| since |
2.0.0 |
|---|
Response
array<string|int, mixed>
removeData
Removes an object to the data array
removeData( key) :
| since |
2.0.0 |
|---|
Arguments
- key
stringThe array key to remove
Response
$this
setData
Sets additional data to the data array
setData(mixed||string|int data) :
| since |
2.0.0 |
|---|
Arguments
- data
array<string|int, mixed>Data to merge into the existing data array
Response
$this
Properties
data
The data array to pass to the renderer
| since |
2.0.0 |
|---|
Type(s)
array<string|int, mixed>