createUrl() public method
Creates a URL for the given action and model.
This method is called for each button and each row.
| public string createUrl ( $action, $model, $key, $index ) | ||
|---|---|---|
| $action | string |
The button name (or action ID) |
| $model | yii\db\ActiveRecord |
The data model |
| $key | mixed |
The key associated with the data model |
| $index | integer |
The current row index |
| return | string |
The created URL |
Please login to continue.