Class app\controllers\user\ProfileController

Inheritanceapp\controllers\user\ProfileController » dektrium\user\controllers\ProfileController

Clase ProfileController

Public Methods

Hide inherited methods

MethodDescriptionDefined By
actionComentarios() Muestra el perfil del usuario con los posts donde ha comentado app\controllers\user\ProfileController
actionNotificationsAjax() Realiza la busqueda de notificaciones del usuario app\controllers\user\ProfileController
actionNotificationsReadAjax() Cambia el estado de la/las notificaciones app\controllers\user\ProfileController
actionSeguidores() Muestra el perfil del usuario con los usuarios que le siguen app\controllers\user\ProfileController
actionShow() Muestra el perfil del usuario con los posts subidos y aprobados app\controllers\user\ProfileController
actionSiguiendo() Muestra el perfil del usuario con los usuarios que sigue app\controllers\user\ProfileController
actionVotados() Muestra el perfil del usuario con los posts votados app\controllers\user\ProfileController
behaviors() app\controllers\user\ProfileController

Method Details

actionComentarios() public method

Muestra el perfil del usuario con los posts donde ha comentado

public \yii\web\Response actionComentarios ( $username )
$username string
throws \yii\web\NotFoundHttpException
actionNotificationsAjax() public method

Realiza la busqueda de notificaciones del usuario

public mixed actionNotificationsAjax ( )
actionNotificationsReadAjax() public method

Cambia el estado de la/las notificaciones

public void actionNotificationsReadAjax ( $type, $id )
$type integer

Tipo de notificacion

$id integer

Id del post/comentario/user_related

actionSeguidores() public method

Muestra el perfil del usuario con los usuarios que le siguen

public \yii\web\Response actionSeguidores ( $username )
$username string
throws \yii\web\NotFoundHttpException
actionShow() public method

Muestra el perfil del usuario con los posts subidos y aprobados

public \yii\web\Response actionShow ( $username )
$username string
throws \yii\web\NotFoundHttpException
actionSiguiendo() public method

Muestra el perfil del usuario con los usuarios que sigue

public \yii\web\Response actionSiguiendo ( $username )
$username string
throws \yii\web\NotFoundHttpException
actionVotados() public method

Muestra el perfil del usuario con los posts votados

public \yii\web\Response actionVotados ( $username )
$username string
throws \yii\web\NotFoundHttpException
behaviors() public method

public void behaviors ( )