PHP Interface Sulu\Component\PHPCR\PathCleanupInterface

Afficher le fichier Open project: sulu/sulu Interface Usage Examples

Méthodes publiques

Méthode Description
cleanup ( string $dirty, string $languageCode = null ) : string returns a clean string.
validate ( string $path ) : boolean returns TRUE if path is valid.

Method Details

cleanup() public méthode

returns a clean string.
public cleanup ( string $dirty, string $languageCode = null ) : string
$dirty string dirty string to cleanup
$languageCode string
Résultat string clean string

validate() public méthode

returns TRUE if path is valid.
public validate ( string $path ) : boolean
$path string
Résultat boolean