trait HasRecordUrl (View source)

Properties

protected bool|Closure $shouldOpenRecordUrlInNewTab
protected string|Closure|null $recordUrl

Methods

openRecordUrlInNewTab(bool|Closure $condition = true)

No description

recordUrl(string|Closure|null $url, bool|Closure $shouldOpenInNewTab = false)

No description

string|null
getRecordUrl(Model $record)

No description

bool
shouldOpenRecordUrlInNewTab(Model $record)

No description

Details

HasRecordUrl openRecordUrlInNewTab(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

HasRecordUrl

HasRecordUrl recordUrl(string|Closure|null $url, bool|Closure $shouldOpenInNewTab = false)

No description

Parameters

string|Closure|null $url
bool|Closure $shouldOpenInNewTab

Return Value

HasRecordUrl

string|null getRecordUrl(Model $record)

No description

Parameters

Model $record

Return Value

string|null

bool shouldOpenRecordUrlInNewTab(Model $record)

No description

Parameters

Model $record

Return Value

bool