Project::SanitizePath PHP Method

SanitizePath() public method

public SanitizePath ( )
    public function SanitizePath()
    {
        $sanitized = str_replace(" ", "_", $this->path);
        return preg_replace('/[^\\w-]/', '', $sanitized);
    }