JsonView
Extends AbstractViewJoomla Framework JSON View Class
since |
2.0.0 |
---|---|
package |
Joomla Framework |
Methods
addData
Adds an object to the data array
addData(string key, mixed value) : $this
inherited
since |
2.0.0 |
---|
Arguments
- key
string
The array key- value
mixed
The data value to add
Response
$this
clearData
Resets the internal data array
clearData() : $this
inherited
since |
2.0.0 |
---|
Response
$this
getData
Retrieves the data array
getData() : array
inherited
since |
2.0.0 |
---|
Response
array
removeData
Removes an object to the data array
removeData(string key) : $this
inherited
since |
2.0.0 |
---|
Arguments
- key
string
The array key to remove
Response
$this
render
Method to render the view.
render() : string
since |
2.0.0 |
---|
Response
string
The rendered view.
setData
Sets additional data to the data array
setData(array data) : $this
inherited
since |
2.0.0 |
---|
Arguments
- data
array
Data to merge into the existing data array
Response
$this
Properties
data
The data array to pass to the renderer
inherited
since |
2.0.0 |
---|
Type(s)
array