actionAction() public method
Runs an action defined in the generator.
Given an action named "xyz", the method "actionXyz()" in the generator will be called. If the method does not exist, a 400 HTTP exception will be thrown.
| public mixed actionAction ( $id, $name ) | ||
|---|---|---|
| $id | string |
The ID of the generator |
| $name | string |
The action name |
| return | mixed |
The result of the action. |
| throws | yii\web\NotFoundHttpException |
if the action method does not exist. |
Please login to continue.