Class lispa\amos\videoconference\controllers\VideoconfController
This is the class for controller "VideoconfController".
Public Properties
Public Methods
Protected Methods
Method | Description | Defined By |
---|---|---|
createNotificationRead() | lispa\amos\videoconference\controllers\VideoconfController | |
findModel() | Finds the modelObj model based on its primary key value. | lispa\amos\core\controllers\CrudController |
getDefaultCurrentView() | lispa\amos\core\controllers\CrudController | |
getRules() | lispa\amos\core\controllers\BaseController | |
notifyUsers() | lispa\amos\videoconference\controllers\VideoconfController | |
setUserLanguage() | lispa\amos\core\controllers\AmosController |
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
Creates a new Videoconf model.
If creation is successful, the browser will be redirected to the 'view' page.
public mixed actionCreate ( ) |
Create a video conference between to users
public null|string actionCreateVideoConferenceAjax ( $user_profile_id_sender, $user_profile_id_receiver ) | ||
$user_profile_id_sender | ||
$user_profile_id_receiver |
Deletes an existing Videoconf model.
If deletion is successful, the browser will be redirected to the 'index' page.
public mixed actionDelete ( $id ) | ||
$id | integer |
Lists all Videoconf models.
public mixed actionIndex ( $layout = null ) | ||
$layout |
public void actionJsonVideoconfData ( $id ) | ||
$id |
Displays a single Videoconference.
public mixed actionMeet ( $id_room ) | ||
$id_room |
Manda la mail agli utenti collegati alla videoconferenza
public void actionSendMail ( ) |
public void actionTest ( ) |
Updates an existing Videoconf model.
If update is successful, the browser will be redirected to the 'view' page.
public mixed actionUpdate ( $id ) | ||
$id | integer |
Displays a single Videoconf model.
public mixed actionView ( $id ) | ||
$id | integer |
protected boolean createNotificationRead ( $notificaRecord ) | ||
$notificaRecord | ||
return | boolean | Dato un record notification, crea un corrispondente record NotificationRead |
---|
public void init ( ) |
public void loadPartecipanti ( $videoconf_id ) | ||
$videoconf_id |
public void notifyPartecipantiProgrammed ( $videoconf_id ) | ||
$videoconf_id |
protected void notifyUsers ( $notifiche ) | ||
$notifiche | Array Records notification Dato un array contentente i record notification da notificare: invia la mail di notifica agli utenti settati nel record in questione |
public void setPartecipanti ( $ids, $videoconf_id = false ) | ||
$ids | ||
$videoconf_id | boolean | Setta gli id degli user_profile ricevuti |