Class humhub\modules\user\models\forms\Invite

Inheritancehumhub\modules\user\models\forms\Invite » yii\base\Model
Available since version1.1

Invite Form Model

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$emails string User's username or email address humhub\modules\user\models\forms\Invite

Public Methods

Hide inherited methods

MethodDescriptionDefined By
checkEmails() Checks a comma separated list of e-mails which should invited. humhub\modules\user\models\forms\Invite
getEmails() E-Mails entered in form humhub\modules\user\models\forms\Invite
rules() humhub\modules\user\models\forms\Invite

Property Details

$emails public property

User's username or email address

public string $emails null

Method Details

checkEmails() public method

Checks a comma separated list of e-mails which should invited.

E-Mails needs to be valid and not already registered.

public void checkEmails ( $attribute, $params )
$attribute string
$params array
getEmails() public method

E-Mails entered in form

public array getEmails ( )
return array

The emails

rules() public method

public void rules ( )