PHP Class yii\rest\ViewAction
For more details and usage information on ViewAction, see the
guide article on rest controllers.
Afficher le fichier
Open project: yiisoft/yii2
Class Usage Examples
Méthodes publiques
Méthode |
Description |
|
run ( string $id ) : yii\db\ActiveRecordInterface |
Displays a model. |
|
Method Details
public run ( string $id ) : yii\db\ActiveRecordInterface |
$id |
string |
the primary key of the model. |
Résultat |
yii\db\ActiveRecordInterface |
the model being displayed |