Class lispa\amos\sondaggi\controllers\SondaggiDomandePagineController
Class SondaggiDomandePagineController SondaggiDomandePagineController implements the CRUD actions for SondaggiDomandePagine model.
Public Properties
Public Methods
Protected Methods
Method | Description | Defined By |
---|---|---|
findModel() | Finds the SondaggiDomandePagine model based on its primary key value. | lispa\amos\sondaggi\controllers\SondaggiDomandePagineController |
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 SondaggiDomandePagine model.
If creation is successful, the browser will be redirected to the 'view' page.
public string|yii\web\Response actionCreate ( $idSondaggio, $url = null ) | ||
$idSondaggio | integer | |
$url | string|null |
Deletes an existing SondaggiDomandePagine model.
If deletion is successful, the browser will be redirected to the 'index' page.
public yii\web\Response actionDelete ( $id, $idSondaggio, $url = null ) | ||
$id | integer | |
$idSondaggio | integer | |
$url | string|null | |
throws | yii\db\StaleObjectException |
---|
Lists all SondaggiDomandePagine models.
public mixed actionIndex ( $idSondaggio = null, $url = null ) | ||
$idSondaggio | ||
$url |
Updates an existing SondaggiDomandePagine model.
If update is successful, the browser will be redirected to the 'view' page.
public string|yii\web\Response actionUpdate ( $id, $url = null ) | ||
$id | integer | |
$url | string|null |
Displays a single SondaggiDomandePagine model.
public mixed actionView ( $id ) | ||
$id | integer |
Finds the SondaggiDomandePagine model based on its primary key value.
If the model is not found, a 404 HTTP exception will be thrown.
protected lispa\amos\sondaggi\models\SondaggiDomandePagine findModel ( $id ) | ||
$id | integer | |
return | lispa\amos\sondaggi\models\SondaggiDomandePagine | The loaded model |
---|---|---|
throws | yii\web\NotFoundHttpException | if the model cannot be found |
public void init ( ) | ||
throws | yii\base\InvalidConfigException |
---|