PHP Interface Sulu\Component\PHPCR\PathCleanupInterface

Mostrar archivo Open project: sulu/sulu Interface Usage Examples

Public Methods

Method 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 method

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

validate() public method

returns TRUE if path is valid.
public validate ( string $path ) : boolean
$path string
return boolean