1 | <?php namespace Arcanesoft\Core\Helpers\UI\LinkTraits; |
||
9 | trait DeleteLinks |
||
10 | { |
||
11 | /** |
||
12 | * Generate delete icon link for modals. |
||
13 | * |
||
14 | * @param string $url |
||
15 | * @param array $attributes |
||
16 | * @param bool $disabled |
||
17 | * |
||
18 | * @return self |
||
19 | */ |
||
20 | 9 | public static function deleteModalIcon($url, array $attributes = [], $disabled = false) |
|
26 | |||
27 | /** |
||
28 | * Generate delete link with icon for modals. |
||
29 | * |
||
30 | * @param string $url |
||
31 | * @param array $attributes |
||
32 | * @param bool $disabled |
||
33 | * |
||
34 | * @return self |
||
35 | */ |
||
36 | 3 | public static function deleteModalWithIcon($url, array $attributes = [], $disabled = false) |
|
43 | } |
||
44 |