Class lispa\amos\projectmanagement\controllers\base\ProjectsModifyRequestController
Class ProjectsModifyRequestController ProjectsModifyRequestController implements the CRUD actions for ProjectsModifyRequest model.
Public Properties
Public Methods
Protected Methods
Method | Description | Defined By |
---|---|---|
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 | |
redirectOnCreate() | lispa\amos\projectmanagement\controllers\base\ProjectsModifyRequestController | |
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 |
Method Details
Creates a new ProjectsModifyRequest model.
If creation is successful, the browser will be redirected to the 'view' page.
public mixed actionCreate ( $pid ) | ||
$pid |
Deletes an existing ProjectsModifyRequest model.
If deletion is successful, the browser will be redirected to the 'index' page.
public mixed actionDelete ( $id ) | ||
$id | integer | |
throws | Exception | |
---|---|---|
throws | yii\db\StaleObjectException | |
throws | yii\web\NotFoundHttpException |
public string actionIndex ( $layout = NULL, $pid = null ) | ||
$layout | null | |
$pid | ||
throws | yii\web\ForbiddenHttpException | |
---|---|---|
throws | yii\web\NotFoundHttpException |
Updates an existing ProjectsModifyRequest model.
If update is successful, the browser will be redirected to the 'view' page.
public string|yii\web\Response actionUpdate ( $id ) | ||
$id | integer | |
throws | yii\web\NotFoundHttpException |
---|
Displays a single ProjectsModifyRequest model.
public mixed actionView ( $id ) | ||
$id | integer | |
throws | yii\web\NotFoundHttpException |
---|
public void init ( ) | ||
throws | yii\base\InvalidConfigException |
---|
protected yii\web\Response redirectOnCreate ( ) |