$model->toLink()
Returns link url and title for model (e.g. used for prev/next navigation)
$model->toLink(string $title = 'title'): array
Parameters
| Name | Type | Default |
|---|---|---|
| $title | string |
'title'
|
Return type
array
This method modifies the existing $model object it is applied to and returns it again.