Class lispa\amos\admin\controllers\UserContactController
Class UserContactController
Public Properties
Public Methods
Protected Methods
Events
Event | Type | Description | Defined By |
---|---|---|---|
EVENT_AFTER_ACTION | yii\base\ActionEvent | An event raised right after executing a controller action. | yii\base\Controller |
EVENT_BEFORE_ACTION | yii\base\ActionEvent | An event raised right before executing a controller action. | yii\base\Controller |
Constants
Constant | Value | Description | Defined By |
---|---|---|---|
AFTER_FINDMODEL_EVENT | "afterFindModel" | lispa\amos\core\controllers\CrudController | |
BEFORE_FINDMODEL_EVENT | "beforeFindModel" | lispa\amos\core\controllers\CrudController |
Property Details
Method Details
public mixed actionAssociateContacts ( ) |
public yii\web\Response actionConnect ( $contactId, $userId = null, $accept = false ) | ||
$contactId | ||
$userId | null | |
$accept | boolean |
public yii\web\Response actionDeleteContact ( $id ) | ||
$id |
public yii\web\Response actionSendReminder ( $id ) | ||
$id | integer |
|
public void beforeCancelAssociateM2m ( $event ) | ||
$event |
public array behaviors ( ) |
public void init ( ) | ||
throws | yii\base\InvalidConfigException |
---|
public void sendContactRequest ( $model, $isAcceptance = false ) | ||
$model | lispa\amos\admin\models\UserContact | |
$isAcceptance | boolean|false |
public void sendMail ( $from, $tos, $subject, $text, $files = [], $bcc = [] ) | ||
$from | string | |
$tos | array | |
$subject | string | |
$text | string | |
$files | array | |
$bcc | array |