gii\controllers\DefaultController actionAction()

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.

doc_Yii
2016-10-30 17:02:59
Comments
Leave a Comment

Please login to continue.