Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
ArticleController
actionView
ArticleController::actionView PHP Method
ArticleController Class Documentation
Show file
Open project: yinhe/yincart
actionView()
public
method
Displays a particular model.
public
actionView
(
integer
$id
)
$id
integer
the ID of the model to be displayed
public function actionView($id) { $this->render('view', array('model' => $this->loadModel($id))); }
ArticleController
accessRules
actionAdmin
actionCreate
actionDelete
actionIndex
actionUpdate
actionView
behaviors
filters
loadModel
performAjaxValidation