Class humhub\modules\user\controllers\InviteController

Inheritancehumhub\modules\user\controllers\InviteController » yii\web\Controller
Available since version1.1

InviteController for new user invites

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
canInvite() Checks if current user can invite new members humhub\modules\user\controllers\InviteController
createInvite() Creates and sends an e-mail invite humhub\modules\user\controllers\InviteController

Method Details

actionIndex() public method

Invite form and processing action

public string actionIndex ( )
return string

The action result

throws \yii\web\HttpException
behaviors() public method

public void behaviors ( )
canInvite() protected method

Checks if current user can invite new members

protected boolean canInvite ( )
return boolean

Can invite new members

createInvite() protected method

Creates and sends an e-mail invite

protected void createInvite ( $email )
$email \humhub\modules\user\controllers\email