PHP Class bubasuma\simplechat\controllers\DefaultController

Since: 1.0
Author: Buba Suma ([email protected])
Inheritance: extends yii\web\Controller, use trait ControllerTrait
Exibir arquivo Open project: bubasuma/yii2-simplechat Class Usage Examples

Public Properties

Property Type Description
$layout
$module bubasuma\simplechat\Module

Public Methods

Method Description
actionIndex ( $contactId = null )
actionLoginAs ( $userId )
behaviors ( )
behaviorsTrait ( )
getConversationClass ( ) : string
getMessageClass ( ) : string
getUser ( ) : User
getUsers ( array $except = [] )
setUser ( $userId )

Method Details

actionIndex() public method

public actionIndex ( $contactId = null )

actionLoginAs() public method

public actionLoginAs ( $userId )

behaviors() public method

public behaviors ( )

behaviorsTrait() public method

public behaviorsTrait ( )

getConversationClass() public method

public getConversationClass ( ) : string
return string

getMessageClass() public method

public getMessageClass ( ) : string
return string

getUser() public method

public getUser ( ) : User
return bubasuma\simplechat\models\User

getUsers() public method

public getUsers ( array $except = [] )
$except array

setUser() public method

public setUser ( $userId )

Property Details

$layout public_oe property

public $layout

$module public_oe property

public Module,bubasuma\simplechat $module
return bubasuma\simplechat\Module