grid\ActionColumn createUrl()

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

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

Please login to continue.