Total Complexity | 4 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
19 | class ViewAction extends Action |
||
20 | { |
||
21 | /** |
||
22 | * @var string the view file to be rendered. If not set, it will take the value of [[id]]. |
||
23 | * That means, if you name the action as "index" in "SchedulerController", then the view name |
||
24 | * would be "index", and the corresponding view file would be "views/scheduler/index.php". |
||
25 | */ |
||
26 | public $view; |
||
27 | |||
28 | /** |
||
29 | * Runs the action |
||
30 | * |
||
31 | * @return string result content |
||
32 | */ |
||
33 | public function run($id) |
||
57 |