Class humhub\modules\space\components\UrlValidator

Inheritancehumhub\modules\space\components\UrlValidator » yii\validators\Validator
Available since version1.1

UrlValidator for space urls

Method Details

autogenerateUniqueSpaceUrl() public static method

Generate a unique space url

public static string autogenerateUniqueSpaceUrl ( $name )
$name string
return string

A unique space url

validateAttribute() public method

public void validateAttribute ( $model, $attribute )
$model
$attribute