class CreatePristineSection extends NodeVisitorAbstract

this creates two sections, one for devise editors and the other a pristine section which removes all the data-devise stuff.

..

Methods

__construct(DeviseParser $DeviseParser)

[__construct description]

void
enterNode(Node $node)

Removes the devise tag stuff

array
beforeTraverse(array $nodes)

Runs after all the nodes have been examined

array
afterTraverse(array $nodes)

After we traverse the tree, we are going to split the view into two parts. The first part is for devise editors and the second part is for pristine viewers

Details

at line 26
__construct(DeviseParser $DeviseParser)

[__construct description]

Parameters

DeviseParser $DeviseParser

at line 37
void enterNode(Node $node)

Removes the devise tag stuff

Parameters

Node $node

Return Value

void

at line 51
array beforeTraverse(array $nodes)

Runs after all the nodes have been examined

Parameters

array $nodes

Return Value

array

at line 68
array afterTraverse(array $nodes)

After we traverse the tree, we are going to split the view into two parts. The first part is for devise editors and the second part is for pristine viewers

Parameters

array $nodes

Return Value

array