Class lispa\amos\discussioni\controllers\DiscussioniCommentiController
Inheritance | lispa\amos\discussioni\controllers\DiscussioniCommentiController » lispa\amos\core\controllers\CrudController » lispa\amos\core\controllers\BaseController » lispa\amos\core\controllers\BackendController » lispa\amos\core\controllers\AmosController » yii\web\Controller » yii\base\Controller » yii\base\Component » yii\base\Object |
---|---|
Implements | yii\base\Configurable, yii\base\ViewContextInterface |
Deprecated since version | from version 1.5. |
Class DiscussioniCommentiController DiscussioniCommentiController implements the CRUD actions for DiscussioniCommenti model.
Public Properties
Public Methods
Protected Methods
Method | Description | Defined By |
---|---|---|
findModel() | Finds the DiscussioniCommenti model based on its primary key value. | lispa\amos\discussioni\controllers\DiscussioniCommentiController |
getDefaultCurrentView() | lispa\amos\core\controllers\CrudController | |
getRules() | lispa\amos\core\controllers\BaseController | |
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 DiscussioniCommenti model.
If creation is successful, the browser will be redirected to the 'view' page.
public mixed actionCreate ( ) |
Deletes an existing DiscussioniCommenti model.
If deletion is successful, the browser will be redirected to the 'index' page.
public mixed actionDelete ( $id ) | ||
$id | integer |
Lists all DiscussioniCommenti models.
public mixed actionIndex ( $layout = NULL ) | ||
$layout |
Updates an existing DiscussioniCommenti model.
If update is successful, the browser will be redirected to the 'view' page.
public mixed actionUpdate ( $id ) | ||
$id | integer |
Displays a single DiscussioniCommenti model.
public mixed actionView ( $id ) | ||
$id | integer |
Finds the DiscussioniCommenti model based on its primary key value.
If the model is not found, a 404 HTTP exception will be thrown.
protected lispa\amos\discussioni\models\DiscussioniCommenti findModel ( $id ) | ||
$id | integer | |
return | lispa\amos\discussioni\models\DiscussioniCommenti | The loaded model |
---|---|---|
throws | yii\web\NotFoundHttpException | if the model cannot be found |
public void init ( ) | ||
throws | yii\base\InvalidConfigException |
---|
public boolean setUpLayout ( $layout = null ) | ||
$layout | null |