Devise
Class

Devise\Editor\Helpers\PageCollectionsContainer

class PageCollectionsContainer extends JsonContainer

Purpose of this class is to hold on json values for data-devise bindings in the IoC container...

those will be spit out in the devise::scripts view...

Methods

__construct()

from JsonContainer
void merge(string/array $data)

Merge the data into this class...

from JsonContainer
string toJSON()

Outputs this data out as json string

from JsonContainer
array getData()

Outputs this data as just regular data in case we want to tamper or examine it

from JsonContainer

Details

in JsonContainer at line 17
public __construct()

in JsonContainer at line 29
public void merge(string/array $data)

Merge the data into this class...

it allows us to have data-devise on multi-pages

Parameters

string/array $data

Return Value

void

in JsonContainer at line 45
public string toJSON()

Outputs this data out as json string

Return Value

string

in JsonContainer at line 56
public array getData()

Outputs this data as just regular data in case we want to tamper or examine it

Return Value

array