PHP Класс 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.
Показать файл
Открыть проект
Примеры использования класса
Открытые свойства
Свойство |
Тип |
Описание |
|
$actionMethod |
|
the controller method that this inline action is associated with |
|
Открытые методы
Описание методов
__construct()
публичный Метод
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()
публичный Метод
This method is mainly invoked by the controller.
Описание свойств
$actionMethod публичное свойство
the controller method that this inline action is associated with