PHP Class Devise\Pages\Interpreter\Modifiers\CreatePristineSection

..
Inheritance: extends PhpParser\NodeVisitorAbstract
Datei anzeigen Open project: devisephp/cms

Protected Properties

Property Type Description
$cloned array ..

Public Methods

Method Description
__construct ( DeviseParser $DeviseParser ) [__construct description]
afterTraverse ( array $nodes ) : array 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
beforeTraverse ( array $nodes ) : array Runs after all the nodes have been examined
enterNode ( PhpParser\Node $node ) : void Removes the devise tag stuff

Protected Methods

Method Description
parseNode ( string $html ) : string Parses the html node

Method Details

__construct() public method

[__construct description]
public __construct ( DeviseParser $DeviseParser )
$DeviseParser Devise\Pages\Interpreter\DeviseParser

afterTraverse() public method

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
public afterTraverse ( array $nodes ) : array
$nodes array
return array

beforeTraverse() public method

Runs after all the nodes have been examined
public beforeTraverse ( array $nodes ) : array
$nodes array
return array

enterNode() public method

Removes the devise tag stuff
public enterNode ( PhpParser\Node $node ) : void
$node PhpParser\Node
return void

parseNode() protected method

Parses the html node
protected parseNode ( string $html ) : string
$html string
return string

Property Details

$cloned protected_oe property

..
protected array $cloned
return array