Class humhub\modules\admin\models\forms\UserDeleteForm

Inheritancehumhub\modules\admin\models\forms\UserDeleteForm » yii\base\Model
Available since version1.3

UserDeleteForm shows the deletion options for the admin.

Property Details

$_spaces protected property
$deleteContributions public property

Delete also user contributions

$deleteSpaces public property

Delete also user spaces

public boolean $deleteSpaces false
$user public property

The user record to delete

Method Details

attributeHints() public method

public void attributeHints ( )
attributeLabels() public method

public void attributeLabels ( )
getOwningSpaces() public method

Returns all spaces which are owned by the user

public humhub\modules\space\models\Space[] getOwningSpaces ( )
return humhub\modules\space\models\Space[]

The spaces

init() public method

public void init ( )
performDelete() public method (available since version 1.3)

Perform user deletion

public void performDelete ( )
rules() public method

public void rules ( )