SimpleXmlView
class SimpleXmlView extends AbstractView (View source)
The PhpXmlView class.
Traits
The BootableTrait class.
Constants
DEFAULT_MODEL |
|
Methods
__construct(array $data = null)
Method to instantiate the view.
Data
getData()
getData
setData(array $data)
setData
setModel(ModelRepository $model, bool $default = null, string $customName = null)
Method to set property model
from AbstractView
addModel(string $name, ModelRepository $model, string $default = null)
Method to add model with name.
from AbstractView
Details
at line line 46
__construct(array $data = null)
Method to instantiate the view.
in AbstractView at line line 114
void
boot()
boot
in AbstractView at line line 145
AbstractView
handleData()
handleData
in AbstractView at line line 170
mixed
getHandledData()
processData
at line line 89
Data
getData()
getData
at line line 106
AbstractView
setData(array $data)
setData
in AbstractView at line line 212
null
get(string $key, mixed $default = null)
get
in AbstractView at line line 225
$this
set(string $key, mixed $value)
set
in AbstractView at line line 239
string
render()
render
in AbstractView at line line 291
string
__toString()
__toString
in AbstractView at line line 314
boolean
offsetExists(mixed $offset)
Is a property exists or not.
in AbstractView at line line 327
mixed
offsetGet(mixed $offset)
Get a property.
in AbstractView at line line 341
void
offsetSet(mixed $offset, mixed $value)
Set a value to property.
in AbstractView at line line 354
void
offsetUnset(mixed $offset)
Unset a property.
in AbstractView at line line 369
string
getName(int $backwards = 2)
getName
in AbstractView at line line 399
AbstractView
setName(string $name)
Method to set property name
in AbstractView at line line 413
AbstractPackage
getPackage(int $backwards = 4)
Method to get property Package
in AbstractView at line line 445
AbstractView
setPackage(AbstractPackage $package)
Method to set property package
in AbstractView at line line 471
Structure
getConfig()
Method to get property Config
in AbstractView at line line 488
AbstractView
setConfig(Structure $config)
Method to set property config
in AbstractView at line line 505
Structure
__get(string $name)
__get
in AbstractView at line line 532
ModelRepository
getModel(string $name = null)
Method to get property Model
in AbstractView at line line 546
AbstractView
setModel(ModelRepository $model, bool $default = null, string $customName = null)
Method to set property model
in AbstractView at line line 562
AbstractView
addModel(string $name, ModelRepository $model, string $default = null)
Method to add model with name.
in AbstractView at line line 576
AbstractView
removeModel(string $name)
removeModel
in AbstractView at line line 588
PackageRouter
getRouter()
getRouter