Class lispa\amos\events\controllers\EventController
Class EventController This is the class for controller "EventController".
Public Properties
Public Methods
Protected Methods
Method | Description | Defined By |
---|---|---|
baseListsAction() | Base operations for list views | lispa\amos\events\controllers\base\EventController |
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 | |
setCreateNewBtnParams() | Set a view param used in \lispa\amos\core\forms\CreateNewButtonWidget | lispa\amos\events\controllers\base\EventController |
setListViewsParams() | This method is useful to set all common params for all list views. | lispa\amos\events\controllers\base\EventController |
setUserLanguage() | lispa\amos\core\controllers\AmosController | |
updateFindModel() | Method called after findModel in action update. | lispa\amos\events\controllers\base\EventController |
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 yii\web\Response actionAccept ( ) |
public string actionCalculateEndDateHour ( ) |
public string actionCreatedBy ( ) |
public boolean|string actionGetEventById ( ) |
public string actionManagement ( ) |
Lists own interests Event models.
public string actionOwnInterest ( ) |
Action to reject the event by an event validator.
public yii\web\Response actionReject ( $id, $visibleInCalendar ) | ||
$id | integer | |
$visibleInCalendar | boolean | |
throws | yii\web\NotFoundHttpException |
---|
public yii\web\Response actionSubscribe ( ) |
public string actionToPublish ( ) |
Action useful to validate a single event directly. It makes a check on the presence of at least once confirmed manager when there's a community related to the event.
public yii\web\Response actionValidate ( $id ) | ||
$id | integer | The event id. |
throws | yii\web\NotFoundHttpException |
---|
public array behaviors ( ) |