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.
Exibir arquivo
Open project: yiisoft/yii2
Class Usage Examples
Public Properties
Property |
Type |
Description |
|
$actionMethod |
|
the controller method that this inline action is associated with |
|
Public Methods
Method Details
__construct()
public method
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 method
This method is mainly invoked by the controller.
Property Details
$actionMethod public_oe property
the controller method that this inline action is associated with