Class app\controllers\user\ProfileController
Inheritance | app\controllers\user\ProfileController » dektrium\user\controllers\ProfileController |
---|
Clase ProfileController
Public Methods
Method | Description | Defined 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
Muestra el perfil del usuario con los posts donde ha comentado
public \yii\web\Response actionComentarios ( $username ) | ||
$username | string | |
throws | \yii\web\NotFoundHttpException |
---|
Realiza la busqueda de notificaciones del usuario
public mixed actionNotificationsAjax ( ) |
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 |
Muestra el perfil del usuario con los usuarios que le siguen
public \yii\web\Response actionSeguidores ( $username ) | ||
$username | string | |
throws | \yii\web\NotFoundHttpException |
---|
Muestra el perfil del usuario con los posts subidos y aprobados
public \yii\web\Response actionShow ( $username ) | ||
$username | string | |
throws | \yii\web\NotFoundHttpException |
---|
Muestra el perfil del usuario con los usuarios que sigue
public \yii\web\Response actionSiguiendo ( $username ) | ||
$username | string | |
throws | \yii\web\NotFoundHttpException |
---|
Muestra el perfil del usuario con los posts votados
public \yii\web\Response actionVotados ( $username ) | ||
$username | string | |
throws | \yii\web\NotFoundHttpException |
---|
public void behaviors ( ) |