PHP Class Devise\Pages\Interpreter\Modifiers\CreatePristineSection

..
Inheritance: extends PhpParser\NodeVisitorAbstract
Afficher le fichier Open project: devisephp/cms

Protected Properties

Свойство Type Description
$cloned array ..

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
parseNode ( string $html ) : string Parses the html node

Method Details

__construct() public méthode

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

afterTraverse() public méthode

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
Résultat array

beforeTraverse() public méthode

Runs after all the nodes have been examined
public beforeTraverse ( array $nodes ) : array
$nodes array
Résultat array

enterNode() public méthode

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

parseNode() protected méthode

Parses the html node
protected parseNode ( string $html ) : string
$html string
Résultat string

Property Details

$cloned protected_oe property

..
protected array $cloned
Résultat array