@@ -2,10 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Yaro\Jarboe\Table\Fields\Traits; |
| 4 | 4 | |
| 5 | -use Illuminate\Http\Request; |
|
| 6 | -use Illuminate\Http\UploadedFile; |
|
| 7 | -use Illuminate\Support\Facades\Storage as IlluminateStorage; |
|
| 8 | - |
|
| 9 | 5 | trait Tooltip |
| 10 | 6 | { |
| 11 | 7 | protected $tooltip; |
@@ -43,6 +43,7 @@ |
||
| 43 | 43 | * Set CRUD object. |
| 44 | 44 | * |
| 45 | 45 | * @param CRUD $crud |
| 46 | + * @return void |
|
| 46 | 47 | */ |
| 47 | 48 | public function setCrud(CRUD $crud); |
| 48 | 49 | |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Yaro\Jarboe\Http\Middleware; |
| 4 | 4 | |
| 5 | 5 | use Closure; |
| 6 | -use Illuminate\Support\Facades\Auth; |
|
| 7 | 6 | |
| 8 | 7 | class AdminCheck |
| 9 | 8 | { |
@@ -6,6 +6,9 @@ |
||
| 6 | 6 | { |
| 7 | 7 | protected $placeholder; |
| 8 | 8 | |
| 9 | + /** |
|
| 10 | + * @param string $placeholder |
|
| 11 | + */ |
|
| 9 | 12 | public function placeholder($placeholder) |
| 10 | 13 | { |
| 11 | 14 | $this->placeholder = $placeholder; |
@@ -4,15 +4,38 @@ |
||
| 4 | 4 | |
| 5 | 5 | interface FieldPropsInterface |
| 6 | 6 | { |
| 7 | + /** |
|
| 8 | + * @return boolean |
|
| 9 | + */ |
|
| 7 | 10 | public function isEncode(); |
| 11 | + |
|
| 12 | + /** |
|
| 13 | + * @return boolean |
|
| 14 | + */ |
|
| 8 | 15 | public function isInline(); |
| 16 | + |
|
| 17 | + /** |
|
| 18 | + * @return boolean |
|
| 19 | + */ |
|
| 9 | 20 | public function isMarkupRow(); |
| 10 | 21 | public function isMultiple(); |
| 11 | 22 | public function isOrderable(); |
| 23 | + |
|
| 24 | + /** |
|
| 25 | + * @return boolean |
|
| 26 | + */ |
|
| 12 | 27 | public function isRelationField(); |
| 13 | 28 | public function isNullable(); |
| 29 | + |
|
| 30 | + /** |
|
| 31 | + * @return boolean |
|
| 32 | + */ |
|
| 14 | 33 | public function hasTooltip(); |
| 15 | 34 | public function hasClipboardButton(); |
| 16 | 35 | public function isTranslatable(); |
| 36 | + |
|
| 37 | + /** |
|
| 38 | + * @return boolean |
|
| 39 | + */ |
|
| 17 | 40 | public function isMaskable(); |
| 18 | 41 | } |