PHP Class yii\base\InlineAction
The name of the controller method is available via [[actionMethod]] which
is set by the [[controller]] who creates this action.
For more details and usage information on InlineAction, see the
guide article on actions.
Afficher le fichier
Open project: yiisoft/yii2
Class Usage Examples
Méthodes publiques
Свойство |
Type |
Description |
|
$actionMethod |
|
the controller method that this inline action is associated with |
|
Méthodes publiques
Method Details
__construct()
public méthode
public __construct ( string $id, Controller $controller, string $actionMethod, array $config = [] ) |
$id |
string |
the ID of this action |
$controller |
Controller |
the controller that owns this action |
$actionMethod |
string |
the controller method that this inline action is associated with |
$config |
array |
name-value pairs that will be used to initialize the object properties |
runWithParams()
public méthode
This method is mainly invoked by the controller.
Property Details
$actionMethod public_oe property
the controller method that this inline action is associated with