Class lispa\amos\report\controllers\ReportController
Class ReportController
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 | |
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
public string actionCreate ( ) | ||
throws | yii\base\InvalidConfigException |
---|
Action for search all news.
public string actionIndex ( $layout = NULL, $currentView = 'grid' ) | ||
$layout | ||
$currentView |
public yii\web\Response actionReadConfirmation ( $id = null ) | ||
$id | null | |
throws | yii\base\InvalidConfigException | |
---|---|---|
throws | yii\web\NotFoundHttpException |
public array behaviors ( ) |
public void init ( ) | ||
throws | yii\base\InvalidConfigException |
---|
public void sendMail ( $from, $tos, $subject, $text, $files = [], $bcc = [] ) | ||
$from | string | |
$tos | array | |
$subject | string | |
$text | string | |
$files | array | |
$bcc | array |
public void sendReportNotification ( $model ) | ||
$model | lispa\amos\report\models\Report |
public boolean setUpLayout ( $layout = null ) | ||
$layout | null |