controllers/DefaultController.php
public function actionTasknoteview($id)
    {

        $model = Task::getTaskNoteModel($id);

        if (!isset($model)) {
            throw new NotFoundHttpException('The Task "' . $id . '" not found.');
        }

        return $this->render('tasknoteview', [
            'model' => Task::getTaskNoteModel($id), 'task' => $model,
        ]);

    }
public function actionTasknoteview($id)
    {

        $model = Task::getTaskNoteModel($id);

        if (!isset($model)) {
            throw new NotFoundHttpException('The Task "' . $id . '" not found.');
        }

        return $this->render('tasknoteview', [
            'model' => Task::getTaskNoteModel($id), 'task' => $model,
        ]);

    }
public function actionTasknoteview ( $ id ) { $ model = Task :: getTaskNoteModel ( $ id ) ; if ( ! isset ( $ model ) ) { throw new NotFoundHttpException ( 'The Task "' . $ id . '" not found.' ) ; } return $ this -> render ( 'tasknoteview' , [ 'model' => Task :: getTaskNoteModel ( $ id ) , 'task' => $ model , ] ) ; }
Displays a single TaskComment model.
@param integer $id
@return mixed
@throws NotFoundHttpException
Displays a single TaskComment model .