PHP Class Gajus\Vlad\Selector

Afficher le fichier Open project: gajus/vlad Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( string $name )
getName ( ) : string
getPath ( ) : array

Method Details

__construct() public méthode

public __construct ( string $name )
$name string HTML input name, e.g. foo[bar].

getName() public méthode

public getName ( ) : string
Résultat string HTML input name.

getPath() public méthode

public getPath ( ) : array
Résultat array HTML input name represented in array, e.g. foo[bar][baz] becomes ['foo']['bar']['baz'].